]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
made r_showbboxes disable cull face
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Feb 2008 09:55:47 +0000 (09:55 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Feb 2008 09:55:47 +0000 (09:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8134 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 1f59f2cb4fb7548d6bd055c237bc9390f95d4593..d538305f90d653c111842c0bbb2f33e31b53a895 100644 (file)
@@ -3997,6 +3997,7 @@ static void R_DrawEntityBBoxes_Callback(const entity_render_t *ent, const rtligh
        // this function draws bounding boxes of server entities
        if (!sv.active)
                return;
+       GL_CullFace(GL_NONE);
        R_SetupGenericShader(false);
        SV_VM_Begin();
        for (i = 0;i < numsurfaces;i++)