diff options
author | Liam <byteslice@airmail.cc> | 2022-12-13 12:30:15 -0500 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-13 13:23:23 -0500 |
commit | d5f53da79d944869eb88416494ecf10a47eee90d (patch) | |
tree | 8b2bc2084d711ba2196d2e8121216eac25e982cb /src/yuzu/bootmanager.cpp | |
parent | a4696285af946588dc33b19e49a3baa0f8b2b60d (diff) |
renderer_opengl: refactor context acquire
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 5b5b6fed8..1437dec88 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -61,8 +61,6 @@ void EmuThread::run() { // Main process has been loaded. Make the context current to this thread and begin GPU and CPU // execution. - gpu.Start(); - gpu.ObtainContext(); emit LoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); @@ -77,6 +75,7 @@ void EmuThread::run() { emit LoadProgress(VideoCore::LoadCallbackStage::Complete, 0, 0); gpu.ReleaseContext(); + gpu.Start(); system.GetCpuManager().OnGpuReady(); |