X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cl_particles.c;h=d0e75886cebf9c58dae2792bc2514c8fcc66c912;hb=3fe0ee89f506f39375a5abe5c0ff170de037614a;hp=e9c720265e440329f7b9e3d03722d7dfb8d8d610;hpb=a757d821b12d5ec84cf4d76a9572d9c90ca77324;p=xonotic%2Fdarkplaces.git diff --git a/cl_particles.c b/cl_particles.c index e9c72026..d0e75886 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1937,6 +1937,7 @@ void R_DrawDecal_TransparentCallback(const entity_render_t *ent, const rtlight_t R_Mesh_VertexPointer(particle_vertex3f, 0, 0); R_Mesh_TexCoordPointer(0, 2, particle_texcoord2f, 0, 0); R_Mesh_ColorPointer(particle_color4f, 0, 0); + R_SetupGenericShader(true); GL_DepthMask(false); GL_DepthRange(0, 1); GL_PolygonOffset(0, 0); @@ -2082,6 +2083,7 @@ void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const rtligh R_Mesh_VertexPointer(particle_vertex3f, 0, 0); R_Mesh_TexCoordPointer(0, 2, particle_texcoord2f, 0, 0); R_Mesh_ColorPointer(particle_color4f, 0, 0); + R_SetupGenericShader(true); GL_DepthMask(false); GL_DepthRange(0, 1); GL_PolygonOffset(0, 0);