[client] opengl: decouple mouse updates from vsync
This commit is contained in:
1 parent
f7420317f1
commit
9bb66b7bd6
1 file changed
+9
@@ -712,6 +712,15 @@ bool lgr_opengl_render(void * opaque)
|
||||
return true;
|
||||
}
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user