Mattias Engdegård f91-men at nada.kth.se
Mon Aug 20 11:00:01 PDT 2001

"Fabio 'SnowDruid' Franchello" <snowdruid at libero.it> wrote:
>Using SDL_DisplayFormat() does not fix the problem. Here's the formats
>WITHOUT using SDL_DisplayFormat():


something is not right -- not only is the Logo format the same as the
screen, it also has an alpha channel despite being loaded from a BMP
file. What have you done with the surface more than LoadBMP() and
SetColorKey() ?

LoadBMP() *never* creates an alpha channel, and SetColorKey() should
not affect the image format either. Please check your code again
(and print the surface flags for each of the involved surfaces)

More information about the SDL mailing list