]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
commented out two unused static const int variables gcc 3.3 noticed
[xonotic/darkplaces.git] / cl_particles.c
index d092dc3c2b2b4479a299059f46cb9a448918166a..1409edcdc0a8451dcfa17e4ef00858a17f5dd76d 100644 (file)
@@ -236,9 +236,9 @@ static int particlepalette[256] =
 
 // these must match r_part.c's textures
 static const int tex_smoke[8] = {0, 1, 2, 3, 4, 5, 6, 7};
-static const int tex_rainsplash[16] = {8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23};
+//static const int tex_rainsplash[16] = {8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23};
 static const int tex_particle = 24;
-static const int tex_rain = 25;
+//static const int tex_rain = 25;
 static const int tex_bubble = 26;
 
 static int                     cl_maxparticles;
@@ -1406,7 +1406,7 @@ static void R_InitParticleTexture (void)
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
 #else
-       particlefonttexture = R_LoadTexture (particletexturepool, "particlefont", 256, 256, particletexturedata, TEXTYPE_RGBA, TEXF_ALPHA | TEXF_PRECACHE);
+       particlefonttexture = R_LoadTexture2D(particletexturepool, "particlefont", 256, 256, particletexturedata, TEXTYPE_RGBA, TEXF_ALPHA | TEXF_PRECACHE, NULL);
 #endif
 }