diff include/SDL_video.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 80a5e6a4e1e2
children 396a35389351
line wrap: on
line diff
--- a/include/SDL_video.h	Thu Jun 15 07:07:07 2006 +0000
+++ b/include/SDL_video.h	Fri Jun 16 06:00:31 2006 +0000
@@ -1082,8 +1082,8 @@
  * emulation.
  */
 extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
-                                          SDL_Color * colors, int firstcolor,
-                                          int ncolors);
+                                          const SDL_Color * colors,
+                                          int firstcolor, int ncolors);
 
 /*
  * Maps an RGB triple to an opaque pixel value for a given pixel format