From ac21931f61d9150e0f3f36afed4dd3258e6cf0ec Mon Sep 17 00:00:00 2001 From: tomaz Date: Wed, 15 Jun 2005 03:26:48 +0000 Subject: [PATCH] Added saving of gfx/generated_conchars.tga git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5440 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_draw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gl_draw.c b/gl_draw.c index 5c1fe52c..b3e48111 100644 --- 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); } -- 2.39.2