]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
make ClientTime available to ALL shader permutations, not just postprocess, if the...
[xonotic/darkplaces.git] / cl_particles.c
index eb850f069b819035f41a02db29ff704b9118ee21..5e17b0c292b37dcc748ce8625f8490818fe58894 100644 (file)
@@ -2085,7 +2085,7 @@ static void R_InitParticleTexture (void)
        }
 
 #ifndef DUMPPARTICLEFONT
-       particletexture[tex_beam].texture = loadtextureimage(particletexturepool, "particles/nexbeam.tga", false, TEXF_ALPHA | TEXF_FORCELINEAR, true);
+       particletexture[tex_beam].texture = loadtextureimage(particletexturepool, "particles/nexbeam.tga", false, TEXF_ALPHA | TEXF_FORCELINEAR, true, r_texture_convertsRGB_particles.integer);
        if (!particletexture[tex_beam].texture)
 #endif
        {