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:
parent
d031acfd50
commit
7ce0d17315
|
@ -122,11 +122,14 @@ void DisplayConfigDialog::vOnOutputChanged(VBA::Window::EVideoOutput _eOutput)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_eOutput == VBA::Window::OutputOpenGL && m_poOutputOpenGLRadioButton->get_active())
|
if (_eOutput == VBA::Window::OutputOpenGL && m_poOutputOpenGLRadioButton->get_active())
|
||||||
|
{
|
||||||
m_poConfig->vSetKey("output", VBA::Window::OutputOpenGL);
|
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_poConfig->vSetKey("output", VBA::Window::OutputCairo);
|
||||||
|
m_poWindow->vApplyConfigScreenArea();
|
||||||
m_poWindow->vApplyConfigScreenArea();
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayConfigDialog::vOnScaleChanged()
|
void DisplayConfigDialog::vOnScaleChanged()
|
||||||
|
|
Loading…
Reference in New Issue