Fixed color scale when rendering to an sRGB render target
This commit is contained in:
parent
3f7f6f624b
commit
4d135fb696
2 changed files with 18 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue