From 616f84209b3102a864be98959cb4ac9a5518a0b9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 12 May 2016 20:23:18 +0200 Subject: [PATCH] - let gl_draw_sync default to false. No need to waste valuable processing time if we can let the GPU run in parallel with the code that generates the next frame. --- src/gl/system/gl_framebuffer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gl/system/gl_framebuffer.cpp b/src/gl/system/gl_framebuffer.cpp index 8180847062..108f4f7275 100644 --- a/src/gl/system/gl_framebuffer.cpp +++ b/src/gl/system/gl_framebuffer.cpp @@ -164,8 +164,7 @@ void OpenGLFrameBuffer::InitializeState() // //========================================================================== -// Testing only for now. -CVAR(Bool, gl_draw_sync, true, 0) //false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) +CVAR(Bool, gl_draw_sync, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) void OpenGLFrameBuffer::Update() {