Skip to content

Commit

Permalink
Include SDL_WINDOW_ALLOW_HIGHDPI on apple platform
Browse files Browse the repository at this point in the history
  • Loading branch information
hrubymar10 committed Aug 12, 2018
1 parent 965aeb3 commit a421ab5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video.cpp
Expand Up @@ -133,6 +133,9 @@ void CVideo::init_window()

// Add any more default flags here
window_flags |= SDL_WINDOW_RESIZABLE;
#ifdef __APPLE__
window_flags |= SDL_WINDOW_ALLOW_HIGHDPI;
#endif
#ifdef USE_GL_RENDERING
video_flags |= SDL_WINDOW_OPENGL;
#endif
Expand Down

0 comments on commit a421ab5

Please sign in to comment.