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

This commit is contained in:
bgk 2011-02-20 10:38:42 +00:00
parent f656e4fe45
commit 573aaca70b
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()