From 282c8ddc5f91fd95b7587e763ff784802e32a0a9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Nov 2021 03:26:54 +0100 Subject: [PATCH] (GL3) Allow Hard GPU Sync in menu --- gfx/drivers/gl3.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gfx/drivers/gl3.c b/gfx/drivers/gl3.c index 2417066d28..470f8ce691 100644 --- a/gfx/drivers/gl3.c +++ b/gfx/drivers/gl3.c @@ -2017,12 +2017,10 @@ static bool gl_core_frame(void *data, const void *frame, } #endif - if (hard_sync && - !input_driver_nonblock_state && - !gl->menu_texture_enable) - { + if ( hard_sync + && !input_driver_nonblock_state + ) gl_core_fence_iterate(gl, hard_sync_frames); - } glBindVertexArray(0); gl_core_context_bind_hw_render(gl, true);