Parcourir la source

Merge commit '6dc50a78fc4cd53b68892135c61cb130c1253277' into main

Sam Lantinga il y a 2 ans
Parent
commit
d1694472e2
2 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 2
      src/video/android/SDL_androidwindow.c
  2. 0 3
      src/video/uikit/SDL_uikitwindow.m

+ 0 - 2
src/video/android/SDL_androidwindow.c

@@ -58,8 +58,6 @@ int Android_CreateWindow(_THIS, SDL_Window *window)
     window->w = Android_SurfaceWidth;
     window->h = Android_SurfaceHeight;
 
-    window->flags &= ~SDL_WINDOW_HIDDEN;
-
     /* One window, it always has focus */
     SDL_SetMouseFocus(window);
     SDL_SetKeyboardFocus(window);

+ 0 - 3
src/video/uikit/SDL_uikitwindow.m

@@ -99,9 +99,6 @@ static int SetupWindowData(_THIS, SDL_Window *window, UIWindow *uiwindow, SDL_bo
 
     data.uiwindow = uiwindow;
 
-    /* only one window on iOS, always shown */
-    window->flags &= ~SDL_WINDOW_HIDDEN;
-
     if (displaydata.uiscreen != [UIScreen mainScreen]) {
         window->flags &= ~SDL_WINDOW_RESIZABLE;   /* window is NEVER resizable */
         window->flags &= ~SDL_WINDOW_INPUT_FOCUS; /* never has input focus */