mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-06-28 07:39:56 +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
|
// wait for vsync
|
||||||
unsigned int count;
|
unsigned int count;
|
||||||
glXGetVideoSyncSGI(&count);
|
glXWaitVideoSyncSGI(1, 0, &count);
|
||||||
if (count == this->gpuFrameCount)
|
|
||||||
glXWaitVideoSyncSGI(1, 0, &count);
|
|
||||||
glXGetVideoSyncSGI(&this->gpuFrameCount);
|
|
||||||
|
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user