mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 06:57:56 -05:00
renderer_opengl: refactor context acquire
This commit is contained in:
committed by
Alexander Orzechowski
parent
a4696285af
commit
d5f53da79d
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user