summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoBackendBase.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2024-10-06 11:26:06 -0400
committerGitHub <noreply@github.com>2024-10-06 11:26:06 -0400
commit339f9311fb86aaf081f2e9ea2ca2c1a1071b35d6 (patch)
treead4b7398134e4344d48c8a1642d83436952d72ec /Source/Core/VideoCommon/VideoBackendBase.cpp
parentd78b76790db3877d3de615fd7184d66c8764aeab (diff)
parent6ca2da53e86766f54df1ae79e65bb220b41ed7ef (diff)
Merge pull request #12918 from JosJuice/revert-revert-audit-get-state
Partially revert "Revert "Audit uses of IsRunning and GetState""
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoBackendBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp
index 8124c2eeb3..faf7ac19c6 100644
--- a/Source/Core/VideoCommon/VideoBackendBase.cpp
+++ b/Source/Core/VideoCommon/VideoBackendBase.cpp
@@ -286,7 +286,7 @@ void VideoBackendBase::PopulateBackendInfo(const WindowSystemInfo& wsi)
{
// If the core has been initialized, the backend info will have been populated already. Doing it
// again would be unnecessary and could cause the UI thread to race with the GPU thread.
- if (Core::GetState(Core::System::GetInstance()) != Core::State::Uninitialized)
+ if (!Core::IsUninitialized(Core::System::GetInstance()))
return;
g_Config.Refresh();