]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove a bogus RSurf_SetupDepthAndCulling call that was crashing
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jan 2008 23:52:45 +0000 (23:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jan 2008 23:52:45 +0000 (23:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8027 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index b30cc242cadcb1931deb28d26ddb350cd2cfc810..68ec5e3dab2cf81860fd72c0c2fe3dc938654c7d 100644 (file)
@@ -559,7 +559,6 @@ void R_Q1BSP_DrawDepth(entity_render_t *ent)
                return;
        GL_ColorMask(0,0,0,0);
        GL_Color(1,1,1,1);
-       RSurf_SetupDepthAndCulling();
        GL_DepthTest(true);
        GL_BlendFunc(GL_ONE, GL_ZERO);
        GL_DepthMask(true);