From 8c2709a3f4ae252312fa47dd89f55e824a292086 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 14 Dec 2017 10:40:51 +1100 Subject: [PATCH] Revert "[client] disable hacky vsync code now we are single buffering" This reverts commit d55f0bf841416d9afeda7b901487c728cec2ffba. --- client/renderers/opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/renderers/opengl.c b/client/renderers/opengl.c index 90d2ba32..b53a1dde 100644 --- a/client/renderers/opengl.c +++ b/client/renderers/opengl.c @@ -633,8 +633,8 @@ bool lgr_opengl_render(void * opaque) } // wait for vsync -// unsigned int count; -// glXWaitVideoSyncSGI(1, 0, &count); + unsigned int count; + glXWaitVideoSyncSGI(1, 0, &count); glDisable(GL_SCISSOR_TEST); glClear(GL_COLOR_BUFFER_BIT);