libobs: Fix SRGB to SCRGB async video rendering

SDR source projectors are no longer blown out on HDR displays.
This commit is contained in:
jpark37 2022-11-16 22:49:12 -08:00 committed by Jim
parent dfccb26bb2
commit 3d36ba5579

View file

@ -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;
}