mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] remove silly wait logic
This commit is contained in:
parent
d8a80a1cfc
commit
04f7800df4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user