GPUThread: Restore context after backend creation
Might help with random VRAM loss? I can't seem to reproduce it now..
This commit is contained in:
parent
40589dcd93
commit
1c9b9ca37a
|
@ -816,6 +816,7 @@ bool GPUThread::CreateGPUBackendOnThread(GPURenderer renderer, bool upload_vram,
|
|||
g_gpu_device->SetGPUTimingEnabled(g_gpu_settings.display_show_gpu_usage);
|
||||
PostProcessing::Initialize();
|
||||
ImGuiManager::UpdateDebugWindowConfig();
|
||||
Internal::RestoreContextAfterPresent();
|
||||
SetRunIdleReason(RunIdleReason::NoGPUBackend, false);
|
||||
std::atomic_thread_fence(std::memory_order_release);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue