]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added saving of particles/nexbeam.tga (commented out like the particles/particlefont...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Jan 2005 02:23:51 +0000 (02:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Jan 2005 02:23:51 +0000 (02:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4938 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index d4c68ae8c13eea5595f2bb301a7eb13ba11cb289..3d129b61f4081ff6f3663e67d23445f1458d8112 100644 (file)
@@ -1788,6 +1788,10 @@ static void R_InitParticleTexture (void)
                }
        }
 
+#if 0
+       Image_WriteTGARGBA ("particles/nexbeam.tga", 64, 64, &data2[0][0][0]);
+#endif
+
        particletexture[tex_beam].texture = loadtextureimage(particletexturepool, "particles/nexbeam.tga", 0, 0, false, TEXF_ALPHA | TEXF_PRECACHE);
        if (!particletexture[tex_beam].texture)
                particletexture[tex_beam].texture = R_LoadTexture2D(particletexturepool, "nexbeam", 16, 64, &data2[0][0][0], TEXTYPE_RGBA, TEXF_PRECACHE, NULL);