Get the colorspace used for drawing operations
renderer | the rendering context |
colorspace | a pointer filled in with an SDL_ColorSpace value describing the colorspace for drawing operations |
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.