notaz.gp2x.de
/
sdl_omap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix alpha for 32bpp screen
[sdl_omap.git]
/
src
/
video
/
omapdss
/
sdlif.c
diff --git
a/src/video/omapdss/sdlif.c
b/src/video/omapdss/sdlif.c
index
1d682fb
..
409876a
100644
(file)
--- 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, 24, 0xff0000, 0xff00, 0xff, 0);
break;
case 32:
- format = SDL_ReallocFormat(current, 32, 0xff0000, 0xff00, 0xff, 0
xff000000
);
+ format = SDL_ReallocFormat(current, 32, 0xff0000, 0xff00, 0xff, 0);
break;
default:
err("SetVideoMode: bpp %d not supported", bpp);
break;
default:
err("SetVideoMode: bpp %d not supported", bpp);