comparison docs/man3/SDL_SetPalette.3 @ 2283:546f7c1eb755

Merged revision 3472 from SDL 1.2, fixing bug #493
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Dec 2007 03:25:11 +0000
parents e5bc29de3f0a
children 1238da4a7112
comparison
equal deleted inserted replaced
2282:ff3b47d22a6d 2283:546f7c1eb755
1 .TH "SDL_SetPalette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 1 .TH "SDL_SetPalette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
2 .SH "NAME" 2 .SH "NAME"
3 SDL_SetPalette\- Sets the colors in the palette of an 8-bit surface\&. 3 SDL_SetPalette \- Sets the colors in the palette of an 8-bit surface\&.
4 .SH "SYNOPSIS" 4 .SH "SYNOPSIS"
5 .PP 5 .PP
6 \fB#include "SDL\&.h" 6 \fB#include "SDL\&.h"
7 .sp 7 .sp
8 \fBint \fBSDL_SetPalette\fP\fR(\fBSDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors\fR); 8 \fBint \fBSDL_SetPalette\fP\fR(\fBSDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors\fR);