diff options
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 1 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.h | 1 |
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; |
