From 305e76ee6e9089221ce4c91e4bbe7b7129ac4219 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 2 Mar 2018 17:11:40 +0100 Subject: [PATCH] Revert "Enable high dpi support" Just enabling this flag breaks mouse location values. This reverts commit 64efe2c07dd996857f57622239c7cdeadc319f7a. --- app/src/screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/screen.c b/app/src/screen.c index 6186d67fee..9c82773825 100644 --- a/app/src/screen.c +++ b/app/src/screen.c @@ -141,8 +141,7 @@ SDL_bool screen_init_rendering(struct screen *screen, const char *device_name, s struct size window_size = get_initial_optimal_size(frame_size); screen->window = SDL_CreateWindow(device_name, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, - window_size.width, window_size.height, - SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); + window_size.width, window_size.height, SDL_WINDOW_HIDDEN | SDL_WINDOW_RESIZABLE); if (!screen->window) { LOGC("Could not create window: %s", SDL_GetError()); return SDL_FALSE;