VideoPresenter: Textures should be uploaded before any draws

This commit is contained in:
Stenzek
2026-01-08 22:19:58 +10:00
parent 0c1cdd31e1
commit d908b923ef

View File

@@ -1197,12 +1197,12 @@ bool GPUPresenter::PresentFrame(GPUPresenter* presenter, GPUBackend* backend, bo
// acquire for IO.MousePos and system state.
std::atomic_thread_fence(std::memory_order_acquire);
FullscreenUI::UploadAsyncTextures();
ImGuiManager::RenderDebugWindows();
FullscreenUI::DrawAchievementsOverlays();
FullscreenUI::UploadAsyncTextures();
if (backend)
ImGuiManager::RenderTextOverlays(backend);