Erwan
-Load shop and backdrop in 5551. @Jeck feel free to implement the "default as 5551" for jpegs as well if you think it's worth it. I think this change is the safest for the time being, but that's mostly because I'm too lazy to touch JGE
This commit is contained in:
@@ -42,7 +42,7 @@ void GameStateShop::Start()
|
||||
|
||||
mBack = resources.GetQuad("back");
|
||||
resources.Unmiss("shop.jpg"); //Last resort.
|
||||
mBgTex = resources.RetrieveTexture("shop.jpg",RETRIEVE_LOCK);
|
||||
mBgTex = resources.RetrieveTexture("shop.jpg", RETRIEVE_LOCK, TEXTURE_SUB_5551);
|
||||
if(mBgTex)
|
||||
mBg = resources.RetrieveQuad("shop.jpg");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user