Software Renderer: Show each backend's display name instead of its short name in the config dialog.

This commit is contained in:
NeoBrainX 2013-08-12 18:25:32 +02:00
parent c05aa0141d
commit 057551ada7
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title,
it = g_available_video_backends.begin(), it = g_available_video_backends.begin(),
itend = g_available_video_backends.end(); itend = g_available_video_backends.end();
for (; it != itend; ++it) for (; it != itend; ++it)
choice_backend->AppendString(StrToWxStr((*it)->GetName())); choice_backend->AppendString(StrToWxStr((*it)->GetDisplayName()));
// TODO: How to get the translated plugin name? // TODO: How to get the translated plugin name?
choice_backend->SetStringSelection(StrToWxStr(g_video_backend->GetName())); choice_backend->SetStringSelection(StrToWxStr(g_video_backend->GetName()));