Remove outdated hack for vsync parameter on Android.

This commit is contained in:
Henrik Rydgård committed 2023-08-18 15:07:10 +02:00
1 parent 5b76615463
commit f3b2cb6fca
2 files changed
+1 -9

No files matched your search

+1 -3
View File
@@ -804,12 +804,10 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
std::string sysName = System_GetProperty(SYSPROP_NAME);
isOuya = KeyMap::IsOuya(sysName);
ERROR_LOG(G3D, "Backend: %d", g_Config.iGPUBackend);
// We do this here, instead of in NativeInitGraphics, because the display may be reset.
// When it's reset we don't want to forget all our managed things.
CheckFailedGPUBackends();
SetGPUBackend((GPUBackend) g_Config.iGPUBackend);
SetGPUBackend((GPUBackend)g_Config.iGPUBackend);
renderCounter = 0;
// Initialize retro achievements runtime.