possible fix for issue #72 - GUI is blurry when using retina displays

This commit is contained in:
Vadim Lopatin 2015-03-11 09:06:54 +03:00
parent e8f2057ecd
commit 3e75395861
1 changed files with 4 additions and 0 deletions

View File

@ -193,6 +193,10 @@ class SDLWindow : Window {
SDL_ShowWindow(_win);
if (_mainWidget)
_mainWidget.setFocus();
int w = 0;
int h = 0;
SDL_GL_GetWindowSize(_win, &w, &h);
doResize(w, h);
}
/// close window