- removed gl_draw_synv because with the postprocessing this is no longer useful.

This commit is contained in:
Christoph Oelckers 2016-08-30 00:33:02 +02:00
commit 45ff15559d
3 changed files with 1 additions and 17 deletions

View file

@ -179,9 +179,6 @@ void OpenGLFrameBuffer::InitializeState()
//
//==========================================================================
// Testing only for now.
CVAR(Bool, gl_draw_sync, true, 0) //false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
void OpenGLFrameBuffer::Update()
{
if (!CanUpdate())
@ -197,10 +194,7 @@ void OpenGLFrameBuffer::Update()
GLRenderer->SetOutputViewport(nullptr);
if (gl_draw_sync || !swapped)
{
Swap();
}
Swap();
swapped = false;
Unlock();
CheckBench();