mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Workaround a bug on Mac OS in witch dolphin would crash whenthe OpenGL config window would be opened. It seems that wxDialog::Center() is completely useless on Mac OS X, and not only useless, but it crashes when the window is bigger than the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5911 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
66d2bc477a
commit
e1cc37d825
@ -527,7 +527,9 @@ void GFXConfigDialogOGL::CreateGUIControls()
|
||||
InitializeGUITooltips();
|
||||
|
||||
Fit();
|
||||
Center();
|
||||
#ifndef __APPLE__
|
||||
Center(); //it seems to cause problems on macs with small screens
|
||||
#endif
|
||||
UpdateGUI();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user