Merge pull request #9 from DrLex0/high_resolution_sdl2_rendering

Enable high-resolution SDL2 rendering.
This commit is contained in:
kanjitalk755
2019-02-24 11:56:41 +09:00
committed by GitHub

View File

@@ -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) {