include/SDL_video.h
changeset 3215 b425c3e2b796
parent 3213 1f0f9172a1ff
child 3227 458e53d8662c
equal deleted inserted replaced
3214:5625ba0a1e25 3215:b425c3e2b796
   913                                                    void **pixels, int *pitch);
   913                                                    void **pixels, int *pitch);
   914 
   914 
   915 /**
   915 /**
   916  * \fn int SDL_SetTexturePalette(SDL_TextureID textureID, const SDL_Color * colors, int firstcolor, int ncolors)
   916  * \fn int SDL_SetTexturePalette(SDL_TextureID textureID, const SDL_Color * colors, int firstcolor, int ncolors)
   917  *
   917  *
   918  * \brief Set the collor palette of an indexed texture.
   918  * \brief Set the color palette of an indexed texture.
   919  *
   919  *
   920  * \param texture The texture to update
   920  * \param texture The texture to update
   921  * \param colors The array of RGB color data
   921  * \param colors The array of RGB color data
   922  * \param firstcolor The first index to update
   922  * \param firstcolor The first index to update
   923  * \param ncolors The number of palette entries to fill with the color data
   923  * \param ncolors The number of palette entries to fill with the color data