nullvideo: initial release of null video backend

This commit is contained in:
degasus
2014-02-03 14:02:17 +01:00
parent 10682dbf58
commit 59e4882af3
16 changed files with 625 additions and 8 deletions

View File

@ -558,15 +558,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")
{
VideoConfigDiag diag((wxWindow*)parent, backend_name, config_name);
diag.ShowModal();
}
else if (backend_name == "Software Renderer")
if (backend_name == "Software Renderer")
{
SoftwareVideoConfigDialog diag((wxWindow*)parent, backend_name, config_name);
diag.ShowModal();
}
else
{
VideoConfigDiag diag((wxWindow*)parent, backend_name, config_name);
diag.ShowModal();
}
}