Fix transparency in truecolor RGBA images, from Ala-lala
This commit is contained in:
@@ -529,5 +529,5 @@ int
|
|||||||
TFB_HasColorKey (SDL_Surface *surface)
|
TFB_HasColorKey (SDL_Surface *surface)
|
||||||
{
|
{
|
||||||
Uint32 key;
|
Uint32 key;
|
||||||
return TFB_GetColorKey (surface, &key) != 0;
|
return TFB_GetColorKey (surface, &key) == 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user