]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix typo
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Jun 2006 06:28:30 +0000 (06:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 7 Jun 2006 06:28:30 +0000 (06:28 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6430 d7cf8633-e32d-0410-b094-e92efae38249

image.c

diff --git a/image.c b/image.c
index 3899e1e234b447ece782a68667b54ce76b00e5ae..1bc4a85d91ed4d0b9e560404023a7fa2d682a35d 100644 (file)
--- a/image.c
+++ b/image.c
@@ -1358,11 +1358,11 @@ void Image_MipReduce(const unsigned char *in, unsigned char *out, int *width, in
        {
                Con_Printf ("Image_Resample: 3D resampling not supported\n");
                if (*width > destwidth)
-                       width >>= 1;
+                       *width >>= 1;
                if (*height > destheight)
-                       height >>= 1;
+                       *height >>= 1;
                if (*depth > destdepth)
-                       depth >>= 1;
+                       *depth >>= 1;
                return;
        }
        nextrow = *width * bytesperpixel;