Added saving of gfx/generated_conchars.tga
[xonotic/darkplaces.git] / gl_draw.c
index 5c1fe52cea3a2bd1def73a7f64ada100c38a34d9..b3e48111c5d9637a35f2321e0078f92b07162b46 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);
 }