]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
added some commented out code that can make a log of stereo wav sounds loaded
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 185c66d360732d772053180d35344fc60c8b50e4..745aac100106482b53c0742ab6e24a01f6c2058b 100644 (file)
--- a/image.c
+++ b/image.c
@@ -690,6 +690,8 @@ qbyte *loadimagepixels (const char *filename, qboolean complain, int matchwidth,
        char basename[MAX_QPATH], name[MAX_QPATH], *c;
        if (developer_memorydebug.integer)
                Mem_CheckSentinelsGlobal();
+       if (developer_texturelogging.integer)
+               Log_Printf("textures.log", "%s\n", filename);
        Image_StripImageExtension(filename, basename); // strip filename extensions to allow replacement by other types
        // replace *'s with #, so commandline utils don't get confused when dealing with the external files
        for (c = basename;*c;c++)