GTK: Don't disable rendering when using the menus. Thanks to fernandotcl for the patch.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@981 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
d9285a2bab
commit
d031acfd50
|
@ -48,7 +48,6 @@ void Window::vOnMenuEnter()
|
||||||
{
|
{
|
||||||
if (emulating && ! m_bPaused)
|
if (emulating && ! m_bPaused)
|
||||||
{
|
{
|
||||||
m_poScreenArea->vSetEnableRender(false);
|
|
||||||
vStopEmu();
|
vStopEmu();
|
||||||
soundPause();
|
soundPause();
|
||||||
}
|
}
|
||||||
|
@ -58,7 +57,6 @@ void Window::vOnMenuExit()
|
||||||
{
|
{
|
||||||
if (emulating && ! m_bPaused)
|
if (emulating && ! m_bPaused)
|
||||||
{
|
{
|
||||||
m_poScreenArea->vSetEnableRender(true);
|
|
||||||
vStartEmu();
|
vStartEmu();
|
||||||
soundResume();
|
soundResume();
|
||||||
}
|
}
|
||||||
|
@ -430,9 +428,7 @@ void Window::vOnDisplayConfigure()
|
||||||
poBuilder->get_widget_derived("DisplayConfigDialog", poDialog);
|
poBuilder->get_widget_derived("DisplayConfigDialog", poDialog);
|
||||||
poDialog->vSetConfig(m_poDisplayConfig, this);
|
poDialog->vSetConfig(m_poDisplayConfig, this);
|
||||||
poDialog->set_transient_for(*this);
|
poDialog->set_transient_for(*this);
|
||||||
m_poScreenArea->vSetEnableRender(false);
|
|
||||||
poDialog->run();
|
poDialog->run();
|
||||||
m_poScreenArea->vSetEnableRender(true);
|
|
||||||
poDialog->hide();
|
poDialog->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue