mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-08-01 18:49:11 -06:00
fix potential crash when switching video output methods
This commit is contained in:
@ -134,13 +134,15 @@ void OnRendererChanged(uiRadioButtons* rb, void* blarg)
|
||||
ApplyNewSettings(2);
|
||||
else
|
||||
ApplyNewSettings(3);
|
||||
|
||||
uiControlSetFocus(uiControl(win));
|
||||
}
|
||||
|
||||
void OnGLDisplayChanged(uiCheckbox* cb, void* blarg)
|
||||
{
|
||||
Config::ScreenUseGL = uiCheckboxChecked(cb);
|
||||
ApplyNewSettings(2);
|
||||
uiControlSetFocus(uiControl(cb));
|
||||
uiControlSetFocus(uiControl(win));
|
||||
}
|
||||
|
||||
void OnThreaded3DChanged(uiCheckbox* cb, void* blarg)
|
||||
|
Reference in New Issue
Block a user