mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix turning off VSync on Android, logic fix
This commit is contained in:
1 parent
ff6e118fff
commit
aadb700505
3 files changed
+2
-6
No files matched your search
@@ -20,7 +20,7 @@ inline Draw::PresentMode GetBestImmediateMode(Draw::PresentMode supportedModes)
|
||||
}
|
||||
|
||||
void FrameTiming::Reset(Draw::DrawContext *draw) {
|
||||
if (g_Config.bVSync) {
|
||||
if (g_Config.bVSync || !(draw->GetDeviceCaps().presentModesSupported & (Draw::PresentMode::MAILBOX| Draw::PresentMode::IMMEDIATE))) {
|
||||
presentMode = Draw::PresentMode::FIFO;
|
||||
presentInterval = 1;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user