mirror of https://github.com/axmolengine/axmol.git
update If Construct
This commit is contained in:
parent
d18da42695
commit
fe7d5cbdfb
|
@ -183,9 +183,7 @@ void TextureCache::loadImage()
|
|||
break;
|
||||
}
|
||||
_imageInfoMutex.unlock();
|
||||
if(infoSize == 0)
|
||||
generateImage = true;
|
||||
else if(pos < infoSize)
|
||||
if(infoSize == 0 || pos < infoSize)
|
||||
generateImage = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue