mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 21:47:23 +00:00
[client] opengl: decouple mouse updates from vsync
This commit is contained in:
parent
f7420317f1
commit
9bb66b7bd6
@ -712,6 +712,15 @@ bool lgr_opengl_render(void * opaque)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
this->newShape = false;
|
this->newShape = false;
|
||||||
|
|
||||||
|
glDrawBuffer(GL_FRONT);
|
||||||
|
glCallList(this->texList + this->texIndex);
|
||||||
|
lgr_opengl_draw_mouse(this);
|
||||||
|
if (this->fpsTexture)
|
||||||
|
glCallList(this->fpsList);
|
||||||
|
glDrawBuffer(GL_BACK);
|
||||||
|
glFlush();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
|
Loading…
Reference in New Issue
Block a user