]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/image.c
remove questionable disabled debug dds code, git is made to keep track of junk history
[xonotic/netradiant.git] / tools / quake3 / q3map2 / image.c
index c947085445def14e171f98983fe357a4213d11f5..362bbda1a17a8583b91722f3d55ce7ce6d867766 100644 (file)
@@ -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;
                }