mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
GeneralWidget: Recommend default video backend in tooltip
Recommend the platform's default video backend in the Backend tooltip instead of always recommending OpenGL.
This commit is contained in:
parent
7b8610f4ea
commit
47a86d920f
3 changed files with 11 additions and 2 deletions
|
@ -228,6 +228,12 @@ std::string VideoBackendBase::GetDefaultBackendConfigName()
|
|||
return default_backend ? default_backend->GetName() : "";
|
||||
}
|
||||
|
||||
std::string VideoBackendBase::GetDefaultBackendDisplayName()
|
||||
{
|
||||
auto* const default_backend = GetDefaultVideoBackend();
|
||||
return default_backend ? default_backend->GetDisplayName() : "";
|
||||
}
|
||||
|
||||
const std::vector<std::unique_ptr<VideoBackendBase>>& VideoBackendBase::GetAvailableBackends()
|
||||
{
|
||||
static auto s_available_backends = [] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue