GPU: Fix some CPU thread state reads

This commit is contained in:
Stenzek 2025-04-14 22:17:41 +10:00
parent 4c1aba62fc
commit 3d2085f797
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -1034,7 +1034,7 @@ bool GPUPresenter::PresentFrame(GPUPresenter* presenter, GPUBackend* backend, bo
FullscreenUI::Render();
if (backend && System::IsValid())
if (backend)
ImGuiManager::RenderTextOverlays(backend);
ImGuiManager::RenderOverlayWindows();
@ -1043,7 +1043,7 @@ bool GPUPresenter::PresentFrame(GPUPresenter* presenter, GPUBackend* backend, bo
ImGuiFullscreen::RenderOverlays();
if (backend && System::GetState() == System::State::Running)
if (backend && !GPUThread::IsSystemPaused())
ImGuiManager::RenderSoftwareCursors();
ImGuiManager::RenderDebugWindows();