Skip to content

Commit

Permalink
Create OTG window with HIGHDPI flag
Browse files Browse the repository at this point in the history
This will avoid poor quality with HiDPI displays.

PR #3219 <#3219>
  • Loading branch information
rom1v committed Apr 28, 2022
1 parent 0fca2ad commit c6d9711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/usb/screen_otg.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sc_screen_otg_init(struct sc_screen_otg *screen,
int width = 256;
int height = 256;

uint32_t window_flags = 0;
uint32_t window_flags = SDL_WINDOW_ALLOW_HIGHDPI;
if (params->always_on_top) {
window_flags |= SDL_WINDOW_ALWAYS_ON_TOP;
}
Expand Down

0 comments on commit c6d9711

Please sign in to comment.