From 7b195eb5223d34481c3e9e5a4b98e83e1c58dbb1 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Fri, 13 Nov 2009 18:45:16 +0000 Subject: [PATCH] Builds now. Whether it works or not is an entirely different matter. git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3450 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidmorphos.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/engine/gl/gl_vidmorphos.c b/engine/gl/gl_vidmorphos.c index 087fff053..c6c807b2f 100644 --- a/engine/gl/gl_vidmorphos.c +++ b/engine/gl/gl_vidmorphos.c @@ -364,8 +364,6 @@ qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette) vid.width = info->width; vid.height = info->height; - vid.maxwarpwidth = WARP_WIDTH; - vid.maxwarpheight = WARP_HEIGHT; vid.numpages = 3; vid.colormap = host_colormap; @@ -404,8 +402,6 @@ qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette) { if (TinyGLBase->lib_Version > 50 || (TinyGLBase->lib_Version == 50 && TinyGLBase->lib_Revision >= 9)) { - vid.rowbytes = vid.width; - vid.direct = 0; /* Isn't used anywhere, but whatever. */ vid.aspect = ((float)vid.height / (float)vid.width) * (320.0 / 240.0); if (info->fullscreen) @@ -596,11 +592,10 @@ void GLVID_DeInit() } } -void GL_BeginRendering (int *x, int *y, int *width, int *height) +void GL_BeginRendering() { - *x = *y = 0; - *width = real_width; - *height = real_height; + vid.pixelwidth = real_width; + vid.pixelheight = real_height; } void GL_EndRendering (void)