mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 07:58:30 +00:00
Fixed color scale when rendering to an sRGB render target
This commit is contained in:
@@ -267,6 +267,7 @@ struct SDL_Renderer
|
||||
float SDR_white_point;
|
||||
float HDR_headroom;
|
||||
|
||||
float desired_color_scale;
|
||||
float color_scale;
|
||||
SDL_FColor color; /**< Color for drawing operations values */
|
||||
SDL_BlendMode blendMode; /**< The drawing blend mode */
|
||||
@@ -282,7 +283,6 @@ struct SDL_Renderer
|
||||
SDL_Rect last_queued_cliprect;
|
||||
bool last_queued_cliprect_enabled;
|
||||
bool color_queued;
|
||||
bool color_scale_queued;
|
||||
bool viewport_queued;
|
||||
bool cliprect_queued;
|
||||
|
||||
|
Reference in New Issue
Block a user