diff options
Diffstat (limited to 'src/graphic.c')
-rw-r--r-- | src/graphic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphic.c b/src/graphic.c index de37fc2..cc1303b 100644 --- a/src/graphic.c +++ b/src/graphic.c @@ -22,7 +22,7 @@ SDL_Surface * createSurface(int width, int height) { amask = 0xff000000; #endif - return SDL_CreateRGBSurface(SDL_HWSURFACE|SDL_HWACCEL|/*SDL_ASYNCBLIT|*/SDL_RLEACCEL, width, height, 24, rmask, gmask, bmask, amask); + return SDL_CreateRGBSurface(SDL_HWSURFACE|SDL_HWACCEL|/*SDL_ASYNCBLIT|*/SDL_RLEACCEL, width, height, 32, rmask, gmask, bmask, amask); } |