GTK: Don't reset the renderer when entering the display config dialog

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@982 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2011-02-20 10:38:42 +00:00
parent d031acfd50
commit 7ce0d17315
1 changed files with 6 additions and 3 deletions

View File

@ -122,11 +122,14 @@ void DisplayConfigDialog::vOnOutputChanged(VBA::Window::EVideoOutput _eOutput)
return;
if (_eOutput == VBA::Window::OutputOpenGL && m_poOutputOpenGLRadioButton->get_active())
{
m_poConfig->vSetKey("output", VBA::Window::OutputOpenGL);
else if (_eOutput == VBA::Window::OutputCairo && m_poOutputCairoRadioButton->get_active())
m_poWindow->vApplyConfigScreenArea();
} else if (_eOutput == VBA::Window::OutputCairo && m_poOutputCairoRadioButton->get_active())
{
m_poConfig->vSetKey("output", VBA::Window::OutputCairo);
m_poWindow->vApplyConfigScreenArea();
m_poWindow->vApplyConfigScreenArea();
}
}
void DisplayConfigDialog::vOnScaleChanged()