X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cl_particles.c;h=b76b7d7a25f914039b43b6a0fc937f63eb07854f;hb=7c586d061e7308e0e8164827fa0e14b470921d67;hp=20869e0f66cc5a13b549ad5705229e12d946896f;hpb=bebdddd7765df0b347089323bad3a5ae626f7822;p=xonotic%2Fdarkplaces.git diff --git a/cl_particles.c b/cl_particles.c index 20869e0f..b76b7d7a 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -2389,7 +2389,7 @@ void R_DrawDecal_TransparentCallback(const entity_render_t *ent, const rtlight_t // now render the decals all at once // (this assumes they all use one particle font texture!) GL_BlendFunc(GL_ZERO, GL_ONE_MINUS_SRC_COLOR); - R_SetupShader_Generic(particletexture[63].texture, NULL, GL_MODULATE, 1); + R_SetupShader_Generic(particletexture[63].texture, NULL, GL_MODULATE, 1, false); R_Mesh_PrepareVertices_Generic_Arrays(numsurfaces * 4, particle_vertex3f, particle_color4f, particle_texcoord2f); R_Mesh_Draw(0, numsurfaces * 4, 0, numsurfaces * 2, NULL, NULL, 0, particle_elements, NULL, 0); } @@ -2699,7 +2699,7 @@ void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const rtligh if (texture != particletexture[p->texnum].texture) { texture = particletexture[p->texnum].texture; - R_SetupShader_Generic(texture, NULL, GL_MODULATE, 1); + R_SetupShader_Generic(texture, NULL, GL_MODULATE, 1, false); } if (p->blendmode == PBLEND_INVMOD)