mirror of https://github.com/buggins/dlangui.git
fix issue #72 - retina displays support on mac
This commit is contained in:
parent
5f46f1ce32
commit
dd214309c0
|
@ -115,6 +115,7 @@ class SDLWindow : Window {
|
||||||
// TODO: implement modal behavior
|
// TODO: implement modal behavior
|
||||||
//if (flags & WindowFlag.Modal)
|
//if (flags & WindowFlag.Modal)
|
||||||
// windowFlags |= SDL_WINDOW_INPUT_GRABBED;
|
// windowFlags |= SDL_WINDOW_INPUT_GRABBED;
|
||||||
|
windowFlags |= SDL_WINDOW_ALLOW_HIGHDPI;
|
||||||
version(USE_OPENGL) {
|
version(USE_OPENGL) {
|
||||||
if (_enableOpengl)
|
if (_enableOpengl)
|
||||||
windowFlags |= SDL_WINDOW_OPENGL;
|
windowFlags |= SDL_WINDOW_OPENGL;
|
||||||
|
|
Loading…
Reference in New Issue