summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2022-10-22 19:48:50 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2022-10-22 20:18:02 -0500
commit3912fa7a2ed8ce80d01edb86b5a421bf53ff69ee (patch)
tree5cf7b3d6834906c807efedb532a15c5cd29ede33 /Source/Core/VideoCommon
parentb567f3afcf79ab9333e9f5b17bad9aa17880b74e (diff)
VideoCommon: Add reasons for disabled VS expand
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/VideoBackendBase.cpp1
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp
index b385883093..2b4883d22b 100644
--- a/Source/Core/VideoCommon/VideoBackendBase.cpp
+++ b/Source/Core/VideoCommon/VideoBackendBase.cpp
@@ -274,6 +274,7 @@ void VideoBackendBase::PopulateBackendInfo()
// a value from the previously used renderer
g_Config.backend_info = {};
ActivateBackend(Config::Get(Config::MAIN_GFX_BACKEND));
+ g_Config.backend_info.DisplayName = g_video_backend->GetDisplayName();
g_video_backend->InitBackendInfo();
// We validate the config after initializing the backend info, as system-specific settings
// such as anti-aliasing, or the selected adapter may be invalid, and should be checked.
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index 471ff5a18f..d0863a9d84 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -174,6 +174,7 @@ struct VideoConfig final
struct
{
APIType api_type = APIType::Nothing;
+ std::string DisplayName;
std::vector<std::string> Adapters; // for D3D
std::vector<u32> AAModes;