mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-24 03:58:28 +00:00
Finalized the SDL render API colorspaces
The renderer will always use the sRGB colorspace for drawing, and will default to the sRGB output colorspace. If you want blending in linear space and HDR support, you can select the scRGB output colorspace, which is supported by the direct3d11 and direct3d12
This commit is contained in:
@@ -994,5 +994,3 @@
|
||||
#define SDL_SetSurfaceColorspace SDL_SetSurfaceColorspace_REAL
|
||||
#define SDL_GetSurfaceColorspace SDL_GetSurfaceColorspace_REAL
|
||||
#define SDL_ConvertSurfaceFormatAndColorspace SDL_ConvertSurfaceFormatAndColorspace_REAL
|
||||
#define SDL_SetRenderDrawColorspace SDL_SetRenderDrawColorspace_REAL
|
||||
#define SDL_GetRenderDrawColorspace SDL_GetRenderDrawColorspace_REAL
|
||||
|
Reference in New Issue
Block a user