Skip to content

Commit

Permalink
GPUThread: Skip debug window update on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 21, 2025
1 parent 19ca9cb commit 78f6e11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/gpu_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1079,13 +1079,16 @@ void GPUThread::UpdateSettings(bool gpu_settings_changed, bool device_settings_c
}
else
{
#ifndef __ANDROID__
// Not needed on Android, debug windows are not used.
RunOnThread([]() {
if (s_state.gpu_backend)
{
if (ImGuiManager::UpdateDebugWindowConfig())
Internal::PresentFrameAndRestoreContext();
}
});
#endif
}
}

Expand Down

0 comments on commit 78f6e11

Please sign in to comment.