src/video/android/SDL_androidvideo.c
changeset 7191 75360622e65f
parent 7135 20db445af8c7
child 7253 eee81780005e
     1.1 --- a/src/video/android/SDL_androidvideo.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/video/android/SDL_androidvideo.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -48,7 +48,6 @@
     1.4  extern int Android_GL_LoadLibrary(_THIS, const char *path);
     1.5  extern void *Android_GL_GetProcAddress(_THIS, const char *proc);
     1.6  extern void Android_GL_UnloadLibrary(_THIS);
     1.7 -//extern int *Android_GL_GetVisual(_THIS, Display * display, int screen);
     1.8  extern SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window);
     1.9  extern int Android_GL_MakeCurrent(_THIS, SDL_Window * window,
    1.10                                SDL_GLContext context);
    1.11 @@ -60,8 +59,7 @@
    1.12  /* Android driver bootstrap functions */
    1.13  
    1.14  
    1.15 -// These are filled in with real values in Android_SetScreenResolution on 
    1.16 -// init (before SDL_main())
    1.17 +/* These are filled in with real values in Android_SetScreenResolution on init (before SDL_main()) */
    1.18  int Android_ScreenWidth = 0;
    1.19  int Android_ScreenHeight = 0;
    1.20  Uint32 Android_ScreenFormat = SDL_PIXELFORMAT_UNKNOWN;
    1.21 @@ -182,7 +180,7 @@
    1.22  Android_SetScreenResolution(int width, int height, Uint32 format)
    1.23  {
    1.24      Android_ScreenWidth = width;
    1.25 -    Android_ScreenHeight = height;   
    1.26 +    Android_ScreenHeight = height;
    1.27      Android_ScreenFormat = format;
    1.28  
    1.29      if (Android_Window) {