From: Thomas Debesse Date: Sun, 28 Oct 2018 22:09:03 +0000 (+0100) Subject: remove questionable disabled debug dds code, git is made to keep track of junk history X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=77738387d6d0b1d59daf4c456941fdaf322b7b67;p=xonotic%2Fnetradiant.git remove questionable disabled debug dds code, git is made to keep track of junk history --- diff --git a/tools/quake3/q3map2/image.c b/tools/quake3/q3map2/image.c index c9470854..362bbda1 100644 --- a/tools/quake3/q3map2/image.c +++ b/tools/quake3/q3map2/image.c @@ -464,20 +464,6 @@ image_t *ImageLoad( const char *filename ){ size = vfsLoadFile( (const char*) name, (void**) &buffer, 0 ); if ( size > 0 ) { LoadDDSBuffer( buffer, size, &image->pixels, &image->width, &image->height ); - - /* debug code */ - #if 1 - { - ddsPF_t pf; - DDSGetInfo( (ddsBuffer_t*) buffer, NULL, NULL, &pf ); - Sys_Printf( "pf = %d\n", pf ); - if ( image->width > 0 ) { - StripExtension( name ); - strcat( name, "_converted.tga" ); - WriteTGA( "C:\\games\\quake3\\baseq3\\textures\\rad\\dds_converted.tga", image->pixels, image->width, image->height ); - } - } - #endif // debug break; }