Set the colorspace used by a surface.
Setting the colorspace doesn't change the pixels, only how they are interpreted in color operations.
the SDL_Surface structure to update.
an SDL_Colorspace value describing the surface colorspace.
true on success or false on failure; call SDL_GetError() for more information.
SDL_GetSurfaceColorspace
See Implementation
Set the colorspace used by a surface.
Setting the colorspace doesn't change the pixels, only how they are interpreted in color operations.