]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
implemented r_glsl_water cvar (refraction and reflection rendering)
[xonotic/darkplaces.git] / r_explosion.c
index 48ce2ef3ec4e3566f524cd74b7085d4633aaff0d..9f5888dc20323b2020c175d09a9b05da6e44a546 100644 (file)
@@ -190,7 +190,7 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, cons
        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);