]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
disable depthfirst rendering on animated models since it doesn't work and should...
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 Mar 2013 22:19:01 +0000 (22:19 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 28 Mar 2013 15:41:40 +0000 (16:41 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11929 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d1df06d62959e586b40f895402fcb2e8da728b88

gl_rsurf.c

index 8a915155459bc13c3cd212c29f42d8446b4ce378..17b183d271f648f1aeea1b80695e622451432ff2 100644 (file)
@@ -637,7 +637,7 @@ void R_Q1BSP_Draw(entity_render_t *ent)
 void R_Q1BSP_DrawDepth(entity_render_t *ent)
 {
        dp_model_t *model = ent->model;
-       if (model == NULL)
+       if (model == NULL || model->surfmesh.isanimated)
                return;
        GL_ColorMask(0,0,0,0);
        GL_Color(1,1,1,1);