that flush shouldn't be needed, and a small spot of "Changed gl->qgl".

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@762 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-07 03:14:10 +00:00
parent 0b4df80600
commit 48de667b3f
1 changed files with 3 additions and 2 deletions

View File

@ -580,14 +580,15 @@ void GL_BeginRendering (int *x, int *y, int *width, int *height)
// if (!wglMakeCurrent( maindc, baseRC ))
// Sys_Error ("wglMakeCurrent failed");
// glViewport (*x, *y, *width, *height);
// qglViewport (*x, *y, *width, *height);
}
void GL_EndRendering (void)
{
//return;
glFlush();
//we don't need the flush, XSawpBuffers does it for us.
//chances are, it's version is more suitable anyway. At least there's the chance that it might be.
qglXSwapBuffers(vid_dpy, vid_window);
}