]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_3dfxsvga.c
implemented r_render and r_upload cvar options for CPU profiling (not hardware bound...
[xonotic/darkplaces.git] / vid_3dfxsvga.c
index 74065d4f9a7cfa63556f9a6191ced53db52c3f28..cca4f25dd546fef8a00da6b7a2541f98f4eaf40a 100644 (file)
@@ -269,6 +269,8 @@ void GL_BeginRendering (int *x, int *y, int *width, int *height)
 
 void GL_EndRendering (void)
 {
+       if (!r_render.value)
+               return;
        glFlush();
        fxMesaSwapBuffers();
 }