mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-15 10:54:36 +00:00
VideoPresenter: Textures should be uploaded before any draws
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user