comparison src/video/SDL_pixels_c.h @ 1683:396a35389351 SDL-1.3

Finished palettized display handling. Added support for surface palette sharing.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Jun 2006 06:45:14 +0000
parents eef792d31de8
children
comparison
equal deleted inserted replaced
1682:7ae8018b2e5d 1683:396a35389351
27 27
28 /* Pixel format functions */ 28 /* Pixel format functions */
29 extern SDL_PixelFormat *SDL_AllocFormat(int bpp, 29 extern SDL_PixelFormat *SDL_AllocFormat(int bpp,
30 Uint32 Rmask, Uint32 Gmask, 30 Uint32 Rmask, Uint32 Gmask,
31 Uint32 Bmask, Uint32 Amask); 31 Uint32 Bmask, Uint32 Amask);
32 extern SDL_PixelFormat *SDL_ReallocFormat(SDL_Surface * surface, int bpp,
33 Uint32 Rmask, Uint32 Gmask,
34 Uint32 Bmask, Uint32 Amask);
35 extern void SDL_FormatChanged(SDL_Surface * surface); 32 extern void SDL_FormatChanged(SDL_Surface * surface);
36 extern void SDL_FreeFormat(SDL_PixelFormat * format); 33 extern void SDL_FreeFormat(SDL_PixelFormat * format);
37 34
38 /* Blit mapping functions */ 35 /* Blit mapping functions */
39 extern SDL_BlitMap *SDL_AllocBlitMap(void); 36 extern SDL_BlitMap *SDL_AllocBlitMap(void);