]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
bmodel shadow volumes
[xonotic/darkplaces.git] / gl_draw.c
index 598d9026ca22c068addb1d97eb8a0bee7e2f8bd3..717f0b8983874b90ff0cb43cb08c519e2714737d 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -397,7 +397,7 @@ void R_DrawQueue(void)
        }
        GL_SetupView_ViewPort(vid.realx, vid.realy, vid.realwidth, vid.realheight);
        GL_SetupView_Mode_Ortho(0, 0, vid.conwidth, vid.conheight, -10, 100);
-       GL_DepthFunc(GL_LEQUAL);
+       qglDepthFunc(GL_LEQUAL);
        R_Mesh_Start();
        R_Mesh_Matrix(&r_identitymatrix);