Mercurial > sdl-ios-xcode
diff src/video/windib/SDL_dibvideo.h @ 3992:c75679dce60c SDL-1.2
Fixed bug #335
Use SetSystemPaletteUse() to get better access to the system palette.
We can still do better palette matching in the case where we aren't
using fullscreen mode or a hardware palette, but that can wait for
another day. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 03 Jul 2007 09:05:51 +0000 |
parents | b0d021cf41b6 |
children | fda6e33893b7 |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.h Mon Jul 02 02:45:52 2007 +0000 +++ b/src/video/windib/SDL_dibvideo.h Tue Jul 03 09:05:51 2007 +0000 @@ -40,6 +40,7 @@ struct SDL_PrivateVideoData { HBITMAP screen_bmp; HPALETTE screen_pal; + LOGPALETTE *screen_logpal; int allow_screensaver; @@ -58,6 +59,7 @@ /* Old variable names */ #define screen_bmp (this->hidden->screen_bmp) #define screen_pal (this->hidden->screen_pal) +#define screen_logpal (this->hidden->screen_logpal) #define SDL_nummodes (this->hidden->SDL_nummodes) #define SDL_modelist (this->hidden->SDL_modelist)