update If Construct

This commit is contained in:
Dhilan007 2014-01-09 09:46:17 +08:00
parent d18da42695
commit fe7d5cbdfb
1 changed files with 1 additions and 3 deletions

View File

@ -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;
} }