mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Fix window resize/fullscreen ingame on Mac and other SDL builds
This commit is contained in:
1 parent
c41b981333
commit
437d7b80e3
2 files changed
+8
-2
No files matched your search
@@ -738,6 +738,12 @@ void NativeRender() {
|
||||
if (g_Config.iGPUBackend == GPU_BACKEND_DIRECT3D9) {
|
||||
#ifdef _WIN32
|
||||
D3D9_Resize(0);
|
||||
#endif
|
||||
} else if (g_Config.iGPUBackend == GPU_BACKEND_OPENGL) {
|
||||
#ifndef _WIN32
|
||||
PSP_CoreParameter().pixelWidth = pixel_xres;
|
||||
PSP_CoreParameter().pixelHeight = pixel_yres;
|
||||
NativeMessageReceived("gpu resized", "");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user