[client] remove silly wait logic

This commit is contained in:
Geoffrey McRae 2017-12-14 10:12:31 +11:00
parent d8a80a1cfc
commit 04f7800df4

View File

@ -635,10 +635,7 @@ bool lgr_opengl_render(void * opaque)
// wait for vsync
unsigned int count;
glXGetVideoSyncSGI(&count);
if (count == this->gpuFrameCount)
glXWaitVideoSyncSGI(1, 0, &count);
glXGetVideoSyncSGI(&this->gpuFrameCount);
glXWaitVideoSyncSGI(1, 0, &count);
glDisable(GL_SCISSOR_TEST);
glClear(GL_COLOR_BUFFER_BIT);