src/video/android/SDL_androidvideo.c
changeset 4963 604077962776
parent 4960 0ab2492f2e17
child 4980 d9fdff945ec9
equal deleted inserted replaced
4962:730b234ba9ec 4963:604077962776
   122 Android_VideoInit(_THIS)
   122 Android_VideoInit(_THIS)
   123 {
   123 {
   124     SDL_DisplayMode mode;
   124     SDL_DisplayMode mode;
   125 
   125 
   126     /* Use a fake 32-bpp desktop mode */
   126     /* Use a fake 32-bpp desktop mode */
   127     mode.format = SDL_PIXELFORMAT_RGB888;
   127     mode.format = SDL_PIXELFORMAT_BGR888;
   128     mode.w = iScreenWidth;
   128     mode.w = iScreenWidth;
   129     mode.h = iScreenHeight;
   129     mode.h = iScreenHeight;
   130     mode.refresh_rate = 0;
   130     mode.refresh_rate = 0;
   131     mode.driverdata = NULL;
   131     mode.driverdata = NULL;
   132     if (SDL_AddBasicVideoDisplay(&mode) < 0) {
   132     if (SDL_AddBasicVideoDisplay(&mode) < 0) {