mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00: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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue