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;
}
_imageInfoMutex.unlock();
if(infoSize == 0)
generateImage = true;
else if(pos < infoSize)
if(infoSize == 0 || pos < infoSize)
generateImage = true;
}