Fix transparency in truecolor RGBA images, from Ala-lala

This commit is contained in:
Michael Martin
2019-10-27 14:43:30 -07:00
parent 427d38dc59
commit c3ab0ed545
+1 -1
View File
@@ -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;
} }