From 0fe02268f737801bcabc9663ba59bd00132d5fed Mon Sep 17 00:00:00 2001 From: Alexander Thomas Date: Sat, 23 Feb 2019 20:10:11 +0100 Subject: [PATCH] Enable high-resolution SDL2 rendering. Combined with 'scale_nearest true', this offers sharp graphics on retina displays. --- BasiliskII/src/SDL/video_sdl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/SDL/video_sdl2.cpp b/BasiliskII/src/SDL/video_sdl2.cpp index 49aaddd6..df371b02 100644 --- a/BasiliskII/src/SDL/video_sdl2.cpp +++ b/BasiliskII/src/SDL/video_sdl2.cpp @@ -705,7 +705,7 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags int window_width = width; int window_height = height; - Uint32 window_flags = 0; + Uint32 window_flags = SDL_WINDOW_ALLOW_HIGHDPI; const int window_flags_to_monitor = SDL_WINDOW_FULLSCREEN; if (flags & SDL_WINDOW_FULLSCREEN) {