Returns whether the surface has a color key
Defined in SDL_surface.h
surface | the SDL_Surface structure to query |
Return SDL_TRUE if the surface has a color key, SDL_FALSE otherwise.
It is safe to pass a NULL surface
here; it will return SDL_FALSE.
This function is available since SDL 2.0.9.