Returns whether the surface has a color key.
Defined in <SDL3/SDL_surface.h>
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.