[client] remove silly wait logic
This commit is contained in:
1 parent
d8a80a1cfc
commit
04f7800df4
1 file changed
+1
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user