mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
libobs: Fix SRGB to SCRGB async video rendering
SDR source projectors are no longer blown out on HDR displays.
This commit is contained in:
parent
dfccb26bb2
commit
3d36ba5579
|
@ -2492,6 +2492,7 @@ static inline void obs_source_render_async_video(obs_source_t *source)
|
|||
nonlinear_alpha
|
||||
? "DrawNonlinearAlphaMultiply"
|
||||
: "DrawMultiply";
|
||||
linear_srgb = true;
|
||||
multiplier =
|
||||
obs_get_video_sdr_white_level() / 80.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue