mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
Oops, only call gl_lost() for OpenGL.
This commit is contained in:
1 parent
86b3d4e6d9
commit
b15c6fc295
1 file changed
+3
-1
+3
-1
@@ -821,7 +821,9 @@ void NativeDeviceLost() {
|
||||
if (g_gameInfoCache)
|
||||
g_gameInfoCache->Clear();
|
||||
screenManager->deviceLost();
|
||||
gl_lost();
|
||||
if (GetGPUBackend() == GPUBackend::OPENGL) {
|
||||
gl_lost();
|
||||
}
|
||||
}
|
||||
|
||||
void NativeDeviceRestore() {
|
||||
|
||||
Reference in new issue
Block a user