Mercurial > sdl-ios-xcode
diff src/video/xbios/SDL_xbios.c @ 508:9ff7e90aaa94
Fixed gamma correction in Atari video drivers (thanks Patrice!)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Oct 2002 16:27:56 +0000 |
parents | 189a6a3416c7 |
children | 0ce5a68278fd |
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.c Sat Oct 05 16:27:29 2002 +0000 +++ b/src/video/xbios/SDL_xbios.c Sat Oct 05 16:27:56 2002 +0000 @@ -454,7 +454,7 @@ return(NULL); } - modeflags = (SDL_FULLSCREEN|SDL_HWPALETTE); + modeflags = SDL_FULLSCREEN; /* Allocate needed buffers: simple/double buffer and shadow surface */ new_video_mode = XBIOS_videomodes[bpp][mode]; @@ -475,7 +475,7 @@ } else { Atari_C2pConvert = Atari_C2pConvert8; } - modeflags |= SDL_SWSURFACE; + modeflags |= SDL_SWSURFACE|SDL_HWPALETTE; } else { modeflags |= SDL_HWSURFACE; }