Returns whether the surface has a color key
SDL_bool SDL_SurfaceHasColorKey(SDL_Surface *surface);
surface | the SDL_Surface structure to query |
Returns 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 3.0.0.