mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
Update native with GL-lost-management (UI comes back on Android after switching away)
This commit is contained in:
1 parent
78e9a25d59
commit
0264ff62f0
4 files changed
+5
-9
No files matched your search
@@ -609,7 +609,7 @@ again:
|
||||
void GameInfoCache::SetupTexture(GameInfo *info, std::string &textureData, Thin3DContext *thin3d, Thin3DTexture *&tex, double &loadTime) {
|
||||
if (textureData.size()) {
|
||||
if (!tex) {
|
||||
tex = thin3d->CreateTextureFromFileData(textureData.data(), (int)textureData.size(), T3DFileType::PNG);
|
||||
tex = thin3d->CreateTextureFromFileData((const uint8_t *)textureData.data(), (int)textureData.size(), T3DImageType::PNG);
|
||||
if (tex) {
|
||||
loadTime = time_now_d();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user