]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
prevent backstepping of clc_move time from doing anything
[xonotic/darkplaces.git] / r_explosion.c
index f73e5cc9f2664cab90d382ab5391c56a5070f46d..9f5888dc20323b2020c175d09a9b05da6e44a546 100644 (file)
@@ -188,8 +188,9 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, cons
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);
        GL_DepthRange(0, 1);
+       GL_PolygonOffset(r_refdef.polygonfactor, r_refdef.polygonoffset);
        GL_DepthTest(true);
-       GL_CullFace(GL_FRONT); // quake is backwards, this culls back faces
+       GL_CullFace(r_view.cullface_back);
        R_Mesh_Matrix(&identitymatrix);
 
        R_Mesh_ColorPointer(NULL, 0, 0);