From 4461fb775938376c7b49ffcf9e4186ccd1d7f069 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Oct 2014 22:54:38 +0000 Subject: [PATCH] actually, that's more preferable. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4767 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/image.c b/engine/client/image.c index 9dd737c1f..0fb983526 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -3571,9 +3571,9 @@ static qboolean Image_GenMip0(struct pendingtextureinfo *mips, unsigned int flag } + Image_RoundDimensions(&mips->mip[0].width, &mips->mip[0].height, flags); if (rgbadata) { - Image_RoundDimensions(&mips->mip[0].width, &mips->mip[0].height, flags); if (mips->mip[0].width == imgwidth && mips->mip[0].height == imgheight) mips->mip[0].data = rgbadata; else