From 5848b0cd8faa53ce16300c4cca06cdb6d42dcc1d Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 17 Dec 2011 23:33:15 +0200 Subject: [PATCH] fix alpha for 32bpp screen those bits are ignored by hw, tell SDL there is no alpha. --- src/video/omapdss/sdlif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2