Don't change the window position when creating it on iOS, it is already placed on the correct display

This commit is contained in:
Sam Lantinga 2022-11-10 17:27:48 -08:00
parent 7c05ea0a0e
commit f430ef5ddc
1 changed files with 2 additions and 0 deletions

View File

@ -136,8 +136,10 @@ SetupWindowData(_THIS, SDL_Window *window, UIWindow *uiwindow, SDL_bool created)
}
#endif /* !TARGET_OS_TV */
#if 0 /* Don't set the x/y position, it's already placed on a display */
window->x = 0;
window->y = 0;
#endif
window->w = width;
window->h = height;