Move swap control to the host specific GLInterface files.

This commit is contained in:
Ryan Houdek
2013-01-24 10:31:08 -06:00
parent 2db0c4270e
commit 73eb98ed8e
11 changed files with 45 additions and 34 deletions

View File

@ -26,6 +26,12 @@ void cInterfaceEGL::UpdateFPSDisplay(const char *text)
{
XStoreName(GLWin.dpy, GLWin.win, text);
}
void cInterfaceEGL::SwapInterval(int Interval)
{
eglSwapInterval(GLWin.egl_dpy, Interval);
}
void cInterfaceEGL::Swap()
{
eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf);