Skip to content

Commit

Permalink
Revert "Enable high dpi support"
Browse files Browse the repository at this point in the history
Just enabling this flag breaks mouse location values.

This reverts commit 64efe2c.
  • Loading branch information
rom1v committed Mar 5, 2018
1 parent ef0029d commit 305e76e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 305e76e

Please sign in to comment.