Fixed GL_BeginRendering() here, though that is likely not the only problem.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3459 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2009-11-15 10:01:31 +00:00
parent 9e3e9a7663
commit 3b367ce992
1 changed files with 3 additions and 4 deletions

View File

@ -102,11 +102,10 @@ void GLVID_DeInit (void)
}
void GL_BeginRendering (int *x, int *y, int *width, int *height)
void GL_BeginRendering ()
{
*x = *y = 0;
*width = glwidth;//WindowRect.right - WindowRect.left;
*height = glheight;//WindowRect.bottom - WindowRect.top;
vid.pixelwidth = glwidth;
vid.pixelheight = glheight;
// if (!wglMakeCurrent( maindc, baseRC ))
// Sys_Error ("wglMakeCurrent failed");