- small bugfix for lazy loading textures
This commit is contained in:
parent
62821793c0
commit
c442328b58
|
@ -206,6 +206,7 @@ void CoreData::loadTextureIfRequired(Texture2D **tex,string data_path,
|
|||
itemLoadAttempted[texSystemId] = true;
|
||||
}
|
||||
|
||||
if(attemptToLoadTexture == true) {
|
||||
Renderer &renderer = Renderer::getInstance();
|
||||
*tex = renderer.newTexture2D(rsGlobal);
|
||||
if (*tex) {
|
||||
|
@ -236,6 +237,7 @@ void CoreData::loadTextureIfRequired(Texture2D **tex,string data_path,
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string CoreData::getDataPath() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user