mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Oops, only call gl_lost() for OpenGL.
This commit is contained in:
parent
86b3d4e6d9
commit
b15c6fc295
@ -821,7 +821,9 @@ void NativeDeviceLost() {
|
||||
if (g_gameInfoCache)
|
||||
g_gameInfoCache->Clear();
|
||||
screenManager->deviceLost();
|
||||
gl_lost();
|
||||
if (GetGPUBackend() == GPUBackend::OPENGL) {
|
||||
gl_lost();
|
||||
}
|
||||
}
|
||||
|
||||
void NativeDeviceRestore() {
|
||||
|
Loading…
Reference in New Issue
Block a user