X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fvideo%2Fomapdss%2Fsdlif.c;h=409876a08f30f4cb3c456dd248d2b5f913882cad;hb=52a1749b2a20c9b4edffb45fc78977f9980e55b6;hp=1d682fb7af8033125088857aa3c363d9d773bf09;hpb=9225e894f5e5f4595741065701978ef6730213a2;p=sdl_omap.git diff --git a/src/video/omapdss/sdlif.c b/src/video/omapdss/sdlif.c index 1d682fb..409876a 100644 --- a/src/video/omapdss/sdlif.c +++ b/src/video/omapdss/sdlif.c @@ -108,7 +108,7 @@ static SDL_Surface *omap_SetVideoMode(SDL_VideoDevice *this, SDL_Surface *curren format = SDL_ReallocFormat(current, 24, 0xff0000, 0xff00, 0xff, 0); break; case 32: - format = SDL_ReallocFormat(current, 32, 0xff0000, 0xff00, 0xff, 0xff000000); + format = SDL_ReallocFormat(current, 32, 0xff0000, 0xff00, 0xff, 0); break; default: err("SetVideoMode: bpp %d not supported", bpp);