]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_explosion.c
use less R_Mesh_ResetTextureState calls for more performance
[xonotic/darkplaces.git] / r_explosion.c
index 3519fd940044dd983f9fb935f377e3f30bb9c976..5ed511057be67b4a18fb181dc4bc975bd7e4afa0 100644 (file)
@@ -212,7 +212,7 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, cons
        GL_CullFace(r_refdef.view.cullface_back);
        R_EntityMatrix(&identitymatrix);
 
-       R_Mesh_ResetTextureState();
+//     R_Mesh_ResetTextureState();
        R_SetupShader_Generic(explosiontexture, NULL, GL_MODULATE, 1);
        for (surfacelistindex = 0;surfacelistindex < numsurfaces;surfacelistindex++)
        {