include/SDL_compat.h
branchSDL-1.3
changeset 1682 7ae8018b2e5d
parent 1675 d33dcfc3fde7
child 1683 396a35389351
--- 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);