fix references to TextureCache in NetworkTexture

This commit is contained in:
Stephen Birarda 2017-04-18 13:10:45 -07:00 committed by Atlante45
parent 814970c4e2
commit d9c5997b63

View file

@ -458,8 +458,7 @@ void NetworkTexture::ktxMipRequestFinished() {
if (_ktxResourceState == LOADING_INITIAL_DATA) {
_ktxHighMipRequestFinished = true;
maybeHandleFinishedInitialLoad();
}
else if (_ktxResourceState == REQUESTING_MIP) {
} else if (_ktxResourceState == REQUESTING_MIP) {
Q_ASSERT(_ktxMipLevelRangeInFlight.first != NULL_MIP_LEVEL);
TextureCache::requestCompleted(_self);