GPUThread: Skip debug window update on Android

This commit is contained in:
Stenzek 2025-01-21 20:22:07 +10:00
parent 19ca9cb47d
commit 78f6e11b91
No known key found for this signature in database

View File

@ -1079,6 +1079,8 @@ void GPUThread::UpdateSettings(bool gpu_settings_changed, bool device_settings_c
} }
else else
{ {
#ifndef __ANDROID__
// Not needed on Android, debug windows are not used.
RunOnThread([]() { RunOnThread([]() {
if (s_state.gpu_backend) if (s_state.gpu_backend)
{ {
@ -1086,6 +1088,7 @@ void GPUThread::UpdateSettings(bool gpu_settings_changed, bool device_settings_c
Internal::PresentFrameAndRestoreContext(); Internal::PresentFrameAndRestoreContext();
} }
}); });
#endif
} }
} }