[client] opengl: decouple mouse updates from vsync

This commit is contained in:
Geoffrey McRae 2017-12-15 16:58:21 +11:00
parent f7420317f1
commit 9bb66b7bd6

View File

@ -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);