Oops, only call gl_lost() for OpenGL.

This commit is contained in:
Unknown W. Brackets 2016-10-01 17:19:16 -07:00
parent 86b3d4e6d9
commit b15c6fc295

View File

@ -821,7 +821,9 @@ void NativeDeviceLost() {
if (g_gameInfoCache)
g_gameInfoCache->Clear();
screenManager->deviceLost();
gl_lost();
if (GetGPUBackend() == GPUBackend::OPENGL) {
gl_lost();
}
}
void NativeDeviceRestore() {