mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
e572332173
commit
4461fb7759
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue