mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoBackendBase: Store video backends as unique_ptr
This commit is contained in:
parent
3b23eb24c4
commit
1d6ee140f0
6 changed files with 40 additions and 34 deletions
|
@ -61,7 +61,7 @@ SoftwareVideoConfigDialog::SoftwareVideoConfigDialog(wxWindow* parent, const std
|
|||
wxStaticText* const label_backend = new wxStaticText(page_general, wxID_ANY, _("Backend:"));
|
||||
wxChoice* const choice_backend = new wxChoice(page_general, wxID_ANY);
|
||||
|
||||
for (const VideoBackendBase* backend : g_available_video_backends)
|
||||
for (const auto& backend : g_available_video_backends)
|
||||
{
|
||||
choice_backend->AppendString(StrToWxStr(backend->GetDisplayName()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue