mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
0b4df80600
commit
48de667b3f
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue