From 47dc948861e8eb1ec9db78716af546a98deeb8a7 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Tue, 17 Dec 2019 23:53:21 +0100 Subject: [PATCH] gfx-blur-gaussian: Remove left over obs_enter_graphics (#83) This single line causes OBS to freeze in place, and is not needed as the Graphics Context is already locked by gs::context(). Fixes #83 --- source/gfx/blur/gfx-blur-gaussian.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/gfx/blur/gfx-blur-gaussian.cpp b/source/gfx/blur/gfx-blur-gaussian.cpp index 94087453..160dfbe7 100644 --- a/source/gfx/blur/gfx-blur-gaussian.cpp +++ b/source/gfx/blur/gfx-blur-gaussian.cpp @@ -403,7 +403,6 @@ std::shared_ptr<::gs::texture> gfx::blur::gaussian_directional::render() float_t height = float_t(_input_texture->get_height()); // Setup - obs_enter_graphics(); gs_set_cull_mode(GS_NEITHER); gs_enable_color(true, true, true, true); gs_enable_depth_test(false);