Mercurial > sdl-ios-xcode
diff src/video/svga/SDL_svgavideo.c @ 1:cf2af46e9e2a
Changes since SDL 1.2.0 release
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:50:19 +0000 |
parents | 74212992fb08 |
children | 3647c809813d |
line wrap: on
line diff
--- a/src/video/svga/SDL_svgavideo.c Thu Apr 26 16:45:43 2001 +0000 +++ b/src/video/svga/SDL_svgavideo.c Thu Apr 26 16:50:19 2001 +0000 @@ -370,6 +370,10 @@ /* Set up the new mode framebuffer */ current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE); + if ( bpp == 8 ) { + /* FIXME: What about DirectColor? */ + current->flags |= SDL_HWPALETTE; + } current->w = width; current->h = height; current->pitch = modeinfo->linewidth;