Skip to content

Commit

Permalink
Add SDL_WINDOW_ALLOW_HIGHDPI for IOS platform
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundito committed Dec 10, 2023
1 parent 579dab9 commit 2e757a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Engine/platform/base/sys_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ SDL_Window *sys_window_create(const char *window_title, int w, int h, WindowMode
#if (AGS_PLATFORM_MOBILE)
// Resizable flag is necessary for fullscreen app rotation
flags |= SDL_WINDOW_RESIZABLE;
#endif
#if (AGS_PLATFORM_OS_IOS)
flags |= SDL_WINDOW_ALLOW_HIGHDPI;
#endif
window = SDL_CreateWindow(
window_title,
Expand Down

0 comments on commit 2e757a1

Please sign in to comment.