mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
GPUThread: Skip debug window update on Android
This commit is contained in:
parent
19ca9cb47d
commit
78f6e11b91
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user