]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_3dfxsvga.c
Removed warnings in MSVC6. Updated the DSP file.
[xonotic/darkplaces.git] / vid_3dfxsvga.c
index 3f4e42661c506cee232bb6221ac5a60b8cc528dc..97124a1ced1c7515d2325dec0adbe42517472954 100644 (file)
@@ -158,7 +158,7 @@ void GL_BeginRendering (int *x, int *y, int *width, int *height)
 
 void GL_EndRendering (void)
 {
-       if (!r_render.value)
+       if (!r_render.integer)
                return;
        glFlush();
        fxMesaSwapBuffers();
@@ -291,8 +291,6 @@ void VID_Init(void)
                vid.conheight = height;
        if (vid.conwidth > width)
                vid.conwidth = width;
-       vid.width = vid.conwidth;
-       vid.height = vid.conheight;
 
        InitSig(); // trap evil signals
 
@@ -302,7 +300,7 @@ void VID_Init(void)
 
        Con_SafePrintf ("Video mode %dx%d initialized.\n", width, height);
 
-       vid.recalc_refdef = 1;                          // force a surface cache flush
+//     vid.recalc_refdef = 1;                          // force a surface cache flush
 }
 
 void VID_ExtraOptionDraw(unsigned int options_draw_cursor)