diff --git a/src/conio/sdl_con.c b/src/conio/sdl_con.c index 00d6c2ff780641ebe20880c25a150517f9a7a4a2..6228388b3c0eef8e43b22010ae106f6814ed585d 100644 --- a/src/conio/sdl_con.c +++ b/src/conio/sdl_con.c @@ -633,6 +633,10 @@ static void setup_surfaces_locked(void) flags |= SDL_WINDOW_FULLSCREEN_DESKTOP; else flags |= SDL_WINDOW_RESIZABLE; +#if (SDL_MINOR_VERSION > 0) || (SDL_PATCHLEVEL >= 1) + flags |= SDL_WINDOW_ALLOW_HIGHDPI; +#endif + pthread_mutex_lock(&win_mutex); charwidth = cvstat.charwidth;