]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_warp.c
implemented r_render and r_upload cvar options for CPU profiling (not hardware bound...
[xonotic/darkplaces.git] / gl_warp.c
index 812b82a6bbfe9a01e3df1c9f53e6b1461f015403..ecafc3aa271c9bc4a928b72c35218e8202afa83a 100644 (file)
--- a/gl_warp.c
+++ b/gl_warp.c
@@ -405,6 +405,8 @@ void R_SkyDome()
 
 void R_Sky()
 {
+       if (!r_render.value)
+               return;
        if (!skyname[0])
                return;
        glDisable(GL_DEPTH_TEST);