mirror of https://github.com/buggins/dlangui.git
possible fix for issue #72 - GUI is blurry when using retina displays
This commit is contained in:
parent
e8f2057ecd
commit
3e75395861
|
|
@ -193,6 +193,10 @@ class SDLWindow : Window {
|
||||||
SDL_ShowWindow(_win);
|
SDL_ShowWindow(_win);
|
||||||
if (_mainWidget)
|
if (_mainWidget)
|
||||||
_mainWidget.setFocus();
|
_mainWidget.setFocus();
|
||||||
|
int w = 0;
|
||||||
|
int h = 0;
|
||||||
|
SDL_GL_GetWindowSize(_win, &w, &h);
|
||||||
|
doResize(w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// close window
|
/// close window
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue