mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 05:44:43 +08: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user