From: tomaz Date: Wed, 15 Jun 2005 03:26:48 +0000 (+0000) Subject: Added saving of gfx/generated_conchars.tga X-Git-Tag: xonotic-v0.1.0preview~4743 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ac21931f61d9150e0f3f36afed4dd3258e6cf0ec;p=xonotic%2Fdarkplaces.git Added saving of gfx/generated_conchars.tga git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5440 d7cf8633-e32d-0410-b094-e92efae38249 --- 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); }