From 3b367ce99294811706a60e6493a11387f7468113 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Sun, 15 Nov 2009 10:01:31 +0000 Subject: [PATCH] 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 --- engine/gl/gl_vidsdl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/engine/gl/gl_vidsdl.c b/engine/gl/gl_vidsdl.c index ed597b4e2..cbc356a85 100644 --- a/engine/gl/gl_vidsdl.c +++ b/engine/gl/gl_vidsdl.c @@ -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");