1
0
Fork 0
forked from fte/fteqw

actually, that's more preferable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4767 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-10-11 22:54:38 +00:00
parent e572332173
commit 4461fb7759

View file

@ -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) if (rgbadata)
{ {
Image_RoundDimensions(&mips->mip[0].width, &mips->mip[0].height, flags);
if (mips->mip[0].width == imgwidth && mips->mip[0].height == imgheight) if (mips->mip[0].width == imgwidth && mips->mip[0].height == imgheight)
mips->mip[0].data = rgbadata; mips->mip[0].data = rgbadata;
else else