Merge pull request #7053 from Bigpet/fixSoftMode

Disable software rendering UI when Direct3D is used
This commit is contained in:
Henrik Rydgård 2014-11-07 12:17:10 +01:00
commit 47b731b882

View File

@ -298,7 +298,7 @@ void GameSettingsScreen::CreateViews() {
// We normally use software rendering to debug so put it in debugging.
CheckBox *softwareGPU = graphicsSettings->Add(new CheckBox(&g_Config.bSoftwareRendering, gs->T("Software Rendering", "Software Rendering (experimental)")));
softwareGPU->OnClick.Handle(this, &GameSettingsScreen::OnSoftwareRendering);
if (PSP_IsInited())
if (PSP_IsInited() || g_Config.iGPUBackend != GPU_BACKEND_OPENGL)
softwareGPU->SetEnabled(false);
// Audio