mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
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:
parent
9e3e9a7663
commit
3b367ce992
1 changed files with 3 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue