]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_3dfxsvga.c
change a lot of calls from gl to qgl
[xonotic/darkplaces.git] / vid_3dfxsvga.c
index 813a9d55094d224d08f317981cb2da86299f6f18..9cbb5819b87118170da37adad348a3d58f99ee99 100644 (file)
@@ -57,8 +57,6 @@ int   VID_options_items = 0;
 
 /*-----------------------------------------------------------------------*/
 
-float          gldepthmin, gldepthmax;
-
 const char *gl_vendor;
 const char *gl_renderer;
 const char *gl_version;
@@ -129,7 +127,7 @@ void VID_SetupDithering(void)
                        dither_select(GR_DITHER_4x4);
                        Con_Printf ("4x4.\n");
                } else {
-                       glDisable(GL_DITHER);
+                       qglDisable(GL_DITHER);
                        Con_Printf ("disabled.\n");
                }
        }
@@ -153,7 +151,7 @@ void VID_Finish (void)
 {
        if (r_render.integer)
        {
-               glFinish();
+               qglFinish();
                fxMesaSwapBuffers();
        }
 }