mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Don't use ManagedTexture in GameInfoCache, not needed.
This commit is contained in:
1 parent
82bdc9ec50
commit
75e96df448
6 files changed
+14
-10
No files matched your search
+2
-2
@@ -231,7 +231,7 @@ void GameButton::Draw(UIContext &dc) {
|
||||
using namespace UI;
|
||||
|
||||
if (ginfo->icon.texture) {
|
||||
texture = ginfo->icon.texture->GetTexture();
|
||||
texture = ginfo->icon.texture;
|
||||
}
|
||||
|
||||
int x = bounds_.x;
|
||||
@@ -1425,7 +1425,7 @@ bool MainScreen::DrawBackgroundFor(UIContext &dc, const Path &gamePath, float pr
|
||||
}
|
||||
|
||||
auto pic = ginfo->GetBGPic();
|
||||
Draw::Texture *texture = pic ? pic->texture->GetTexture() : nullptr;
|
||||
Draw::Texture *texture = pic ? pic->texture : nullptr;
|
||||
|
||||
uint32_t color = whiteAlpha(ease(progress)) & 0xFFc0c0c0;
|
||||
if (texture) {
|
||||
|
||||
Reference in new issue
Block a user