Returns whether the surface has a color key
Defined in SDL_surface.h
SDL_bool SDL_HasColorKey(SDL_Surface * surface);
SDL_Surface * | surface | the SDL_Surface structure to query. |
(SDL_bool) 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.