Added saving of gfx/generated_conchars.tga
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jun 2005 03:26:48 +0000 (03:26 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jun 2005 03:26:48 +0000 (03:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5440 d7cf8633-e32d-0410-b094-e92efae38249

gl_draw.c

index 5c1fe52..b3e4811 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -91,6 +91,10 @@ static rtexture_t *draw_generateconchars(void)
                buffer[i][3] = data[i*4+0];
        }
 
+#if 0
+       Image_WriteTGARGBA ("gfx/generated_conchars.tga", 256, 256, &buffer[0][0]);
+#endif
+
        Mem_Free(data);
        return R_LoadTexture2D(drawtexturepool, "conchars", 256, 256, &buffer[0][0], TEXTYPE_RGBA, TEXF_ALPHA | TEXF_PRECACHE, NULL);
 }