From 181f03551c24aafbcfe7b88ea64c2e449878235f Mon Sep 17 00:00:00 2001 From: Matt Callaghan Date: Wed, 24 Nov 2010 23:05:50 +0000 Subject: [PATCH] Even tinier commit. I hope nobody around here has a problem with those.... :P Just hiding the 3D Vision option for DX11 and OGL instead of greying it out. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6474 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp b/Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp index a37d5e934b..fb688c1e90 100644 --- a/Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp +++ b/Source/Core/VideoUICommon/Src/VideoConfigDiag.cpp @@ -159,16 +159,12 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con szr_enh->Add(new SettingCheckBox(page_general, wxT("EFB Scaled Copy"), vconfig.bCopyEFBScaled)); szr_enh->Add(new SettingCheckBox(page_general, wxT("Pixel Lighting"), vconfig.bEnablePixelLigting)); szr_enh->Add(new SettingCheckBox(page_general, wxT("Force Bi/Trilinear Filtering"), vconfig.bForceFiltering)); - - SettingCheckBox* enable_3dVision = new SettingCheckBox(page_general, wxT("3D Vision (Requires Fullscreen)"), vconfig.b3DVision); - if (!vconfig.backend_info.bSupports3DVision) + if (vconfig.backend_info.bSupports3DVision) { - enable_3dVision->Disable(); + szr_enh->Add(new SettingCheckBox(page_general, wxT("3D Vision (Requires Fullscreen)"), vconfig.b3DVision)); } - szr_enh->Add(enable_3dVision); - } // - EFB