mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-30 16:01:09 -04: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:
@@ -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 = [] {
|
||||
|
||||
Reference in New Issue
Block a user