diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-06-23 23:52:26 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-06-23 23:52:26 +0200 |
| commit | 1183fb3d2d55b004a2918a7c69dd8bbaf995c650 (patch) | |
| tree | dfe18ee753b023267732de5319fbfb567970b3ee /Source/Core/VideoCommon/Fifo.cpp | |
| parent | be2ec728e4cd642e22c8558dec7d75ca254a19b2 (diff) | |
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index cfc126cfc1..743e01afaf 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -297,10 +297,10 @@ void RunGpuLoop() AsyncRequests::GetInstance()->SetEnable(true); AsyncRequests::GetInstance()->SetPassthrough(false); - s_gpu_mainloop.Run( - [] { - const SConfig& param = SConfig::GetInstance(); + const SConfig& param = SConfig::GetInstance(); + s_gpu_mainloop.Run( + [¶m] { // Run events from the CPU thread. AsyncRequests::GetInstance()->PullEvents(); |
