]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
now prints image size (was printing garbage before)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2003 13:12:47 +0000 (13:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2003 13:12:47 +0000 (13:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2692 d7cf8633-e32d-0410-b094-e92efae38249

image.c

diff --git a/image.c b/image.c
index aa7f0ef954407f6b413c9e61b06d2643bb64cbcd..53ddafb1214400fe769b8355330b8e9bf6741ba4 100644 (file)
--- a/image.c
+++ b/image.c
@@ -617,7 +617,7 @@ qbyte *loadimagepixels (const char *filename, qboolean complain, int matchwidth,
        return NULL;
 loaded:
        Mem_Free(f);
-       Con_DPrintf("loaded image %s (%dx%d)\n", name);
+       Con_DPrintf("loaded image %s (%dx%d)\n", name, image_width, image_height);
        if (image_width == 0 || image_height == 0)
        {
                Con_Printf("error loading image %s - it is a %dx%d pixel image!\n", name);