mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
Fix a few more device-loss bugs.
This commit is contained in:
1 parent
1c76d28843
commit
378e01625c
4 files changed
+28
-9
No files matched your search
@@ -845,6 +845,12 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
graphicsContext->Resize();
|
||||
screenManager->resized();
|
||||
|
||||
// Do not enable unless you are testing device-loss on Windows
|
||||
#if 0
|
||||
screenManager->deviceLost();
|
||||
screenManager->deviceRestore();
|
||||
#endif
|
||||
|
||||
// TODO: Move this to new GraphicsContext objects for each backend.
|
||||
#ifndef _WIN32
|
||||
if (GetGPUBackend() == GPUBackend::OPENGL) {
|
||||
|
||||
Reference in new issue
Block a user