mirror of https://github.com/encounter/SDL.git
Don't change the window position when creating it on iOS, it is already placed on the correct display
This commit is contained in:
parent
7c05ea0a0e
commit
f430ef5ddc
|
@ -136,8 +136,10 @@ SetupWindowData(_THIS, SDL_Window *window, UIWindow *uiwindow, SDL_bool created)
|
||||||
}
|
}
|
||||||
#endif /* !TARGET_OS_TV */
|
#endif /* !TARGET_OS_TV */
|
||||||
|
|
||||||
|
#if 0 /* Don't set the x/y position, it's already placed on a display */
|
||||||
window->x = 0;
|
window->x = 0;
|
||||||
window->y = 0;
|
window->y = 0;
|
||||||
|
#endif
|
||||||
window->w = width;
|
window->w = width;
|
||||||
window->h = height;
|
window->h = height;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue