Fix "Virtual XFB" always being set when opening video config dialog. (Fixes issue 3537)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6458 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a3c46990f6
commit
3ebd09efc9
|
@ -289,16 +289,20 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title)
|
|||
group_xfb->Add(real_xfb, 0, wxRIGHT, 5);
|
||||
|
||||
if (!g_Config.backend_info.bSupportsRealXFB)
|
||||
{
|
||||
real_xfb->Disable();
|
||||
g_Config.bUseRealXFB = false;
|
||||
virtual_xfb->SetValue(true);
|
||||
}
|
||||
|
||||
if (!g_Config.bUseXFB)
|
||||
{
|
||||
real_xfb->Disable();
|
||||
virtual_xfb->Disable();
|
||||
}
|
||||
|
||||
} // xfb
|
||||
|
||||
// - utility
|
||||
{
|
||||
wxStaticBoxSizer* const group_utility = new wxStaticBoxSizer(wxVERTICAL, page_advanced, wxT("Utility"));
|
||||
|
|
Loading…
Reference in New Issue