src/video/android/SDL_androidwindow.c
changeset 5222 c66b2a778b7e
parent 5001 77df56570442
child 5249 7a963be087ef
     1.1 --- a/src/video/android/SDL_androidwindow.c	Mon Feb 07 16:45:40 2011 -0800
     1.2 +++ b/src/video/android/SDL_androidwindow.c	Mon Feb 07 17:44:07 2011 -0800
     1.3 @@ -41,6 +41,12 @@
     1.4      window->w = Android_ScreenWidth;
     1.5      window->h = Android_ScreenHeight;
     1.6  
     1.7 +    window->flags &= ~SDL_WINDOW_RESIZABLE;     /* window is NEVER resizeable */
     1.8 +    window->flags |= SDL_WINDOW_OPENGL;         /* window is always OpenGL */
     1.9 +    window->flags |= SDL_WINDOW_FULLSCREEN;     /* window is always fullscreen */
    1.10 +    window->flags |= SDL_WINDOW_SHOWN;          /* only one window on Android */
    1.11 +    window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */    
    1.12 +
    1.13      return 0;
    1.14  }
    1.15