Skip to content

Commit

Permalink
CVideo: create window with high DPI enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jul 9, 2017
1 parent aa8f6c7 commit ac1bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video.cpp
Expand Up @@ -211,7 +211,7 @@ void CVideo::init_window()
int video_flags = 0;

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

0 comments on commit ac1bdd2

Please sign in to comment.