mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
VK: Fix sometimes-missing images in GameScreen. Can't load textures from update(). (should probably make that possible though.. later).
This commit is contained in:
1 parent
c789c34274
commit
3d20ddecc5
4 files changed
+7
-6
No files matched your search
@@ -742,7 +742,7 @@ void GameInfoCache::WaitUntilDone(std::shared_ptr<GameInfo> &info) {
|
||||
}
|
||||
|
||||
|
||||
// Runs on the main thread.
|
||||
// Runs on the main thread. Only call from render() and similar, not update()!
|
||||
std::shared_ptr<GameInfo> GameInfoCache::GetInfo(Draw::DrawContext *draw, const std::string &gamePath, int wantFlags) {
|
||||
std::shared_ptr<GameInfo> info;
|
||||
|
||||
@@ -800,7 +800,7 @@ void GameInfoCache::SetupTexture(std::shared_ptr<GameInfo> &info, Draw::DrawCont
|
||||
if (tex.texture) {
|
||||
tex.timeLoaded = time_now_d();
|
||||
} else {
|
||||
ERROR_LOG(G3D, "Failed creating texture");
|
||||
ERROR_LOG(G3D, "Failed creating texture (%s)", info->GetTitle().c_str());
|
||||
}
|
||||
}
|
||||
if ((info->wantFlags & GAMEINFO_WANTBGDATA) == 0) {
|
||||
|
||||
Reference in new issue
Block a user