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;
|
break;
|
||||||
}
|
}
|
||||||
_imageInfoMutex.unlock();
|
_imageInfoMutex.unlock();
|
||||||
if(infoSize == 0)
|
if(infoSize == 0 || pos < infoSize)
|
||||||
generateImage = true;
|
|
||||||
else if(pos < infoSize)
|
|
||||||
generateImage = true;
|
generateImage = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue