GPU: Fix some CPU thread state reads
This commit is contained in:
parent
4c1aba62fc
commit
3d2085f797
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue