From 0a44333c11f59aa0504110dc1d040b021976f182 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 28 Mar 2021 14:29:58 +0200 Subject: [PATCH] transition/shader: Use direct rendering (#501) --- source/transitions/transition-shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/transitions/transition-shader.cpp b/source/transitions/transition-shader.cpp index 2c7a4fd0..bc4694d1 100644 --- a/source/transitions/transition-shader.cpp +++ b/source/transitions/transition-shader.cpp @@ -97,7 +97,7 @@ void shader_instance::transition_render(gs_texture_t* a, gs_texture_t* b, float_ _fx->set_transition_time(t); _fx->set_transition_size(cx, cy); _fx->prepare_render(); - _fx->render(); + _fx->render(nullptr); } bool shader_instance::audio_render(uint64_t* ts_out, obs_source_audio_mix* audio_output, uint32_t mixers,