diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-04-08 20:33:55 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-05-01 08:54:17 -0700 |
| commit | 0df401b164bbe2b0314b74f1fd6385e852bbe098 (patch) | |
| tree | 9f23d7d5cb33fb3a092d641da621cc9331577b73 /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | b71fdef356caf6ca376c0df474212a192951e810 (diff) | |
Core::IsRunning: Avoid Global System Accessor
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 91492321f4..a5d309cc96 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -299,7 +299,7 @@ void VideoBackendBase::PopulateBackendInfoFromUI(const WindowSystemInfo& wsi) { // If the core is running, the backend info will have been populated already. // If we did it here, the UI thread can race with the with the GPU thread. - if (!Core::IsRunning()) + if (!Core::IsRunning(Core::System::GetInstance())) PopulateBackendInfo(wsi); } |
