Mercurial > sdl-ios-xcode
diff include/SDL_compat.h @ 1682:7ae8018b2e5d SDL-1.3
Default palette entries to white, instead of black.
More palettized video mode support...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 16 Jun 2006 06:00:31 +0000 |
parents | d33dcfc3fde7 |
children | 396a35389351 |
line wrap: on
line diff
--- a/include/SDL_compat.h Thu Jun 15 07:07:07 2006 +0000 +++ b/include/SDL_compat.h Fri Jun 16 06:00:31 2006 +0000 @@ -44,8 +44,8 @@ #define SDL_RESIZABLE 0x01000000 #define SDL_NOFRAME 0x02000000 #define SDL_OPENGL 0x04000000 -#define SDL_ASYNCBLIT 0x00000000 -#define SDL_HWACCEL 0x00000000 +#define SDL_ASYNCBLIT 0x08000000 /* Not used */ +#define SDL_HWACCEL 0x08000000 /* Not used */ #define SDL_SCREEN_SURFACE 0x10000000 /* Surface is a window screen surface */ #define SDL_SHADOW_SURFACE 0x20000000 /* Surface is a window shadow surface */ @@ -146,10 +146,10 @@ extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface); extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode); extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags, - SDL_Color * colors, + const SDL_Color * colors, int firstcolor, int ncolors); extern DECLSPEC int SDLCALL SDL_SetScreenColors(SDL_Surface * screen, - SDL_Color * colors, + const SDL_Color * colors, int firstcolor, int ncolors); extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo * info); extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);