Skip to content

Commit

Permalink
fix for the graphic configuration pane not opening for dx12
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinob committed Jun 26, 2016
1 parent ab9a6d1 commit 73a357b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Core/DolphinWX/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,14 +596,14 @@ void Host_ConnectWiimote(int wm_idx, bool connect)
void Host_ShowVideoConfig(void* parent, const std::string& backend_name,
const std::string& config_name)
{
if (backend_name == "Direct3D 11" || backend_name == "Direct3D 12 (experimental)" || backend_name == "OpenGL")
if (backend_name == "Software Renderer")
{
VideoConfigDiag diag((wxWindow*)parent, backend_name, config_name);
SoftwareVideoConfigDialog diag((wxWindow*)parent, backend_name, config_name);
diag.ShowModal();
}
else if (backend_name == "Software Renderer")
else
{
SoftwareVideoConfigDialog diag((wxWindow*)parent, backend_name, config_name);
VideoConfigDiag diag((wxWindow*)parent, backend_name, config_name);
diag.ShowModal();
}
}

0 comments on commit 73a357b

Please sign in to comment.