mirror of
https://github.com/joel16/SDL2.git
synced 2025-01-22 11:24:41 +00:00
Documentation fix.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403688
This commit is contained in:
parent
46b21a2522
commit
5d3a5aa3bd
@ -915,7 +915,7 @@ extern DECLSPEC int SDLCALL SDL_QueryTexturePixels(SDL_TextureID textureID,
|
||||
/**
|
||||
* \fn int SDL_SetTexturePalette(SDL_TextureID textureID, const SDL_Color * colors, int firstcolor, int ncolors)
|
||||
*
|
||||
* \brief Update an indexed texture with a color palette
|
||||
* \brief Set the collor palette of an indexed texture.
|
||||
*
|
||||
* \param texture The texture to update
|
||||
* \param colors The array of RGB color data
|
||||
@ -932,7 +932,7 @@ extern DECLSPEC int SDLCALL SDL_SetTexturePalette(SDL_TextureID textureID,
|
||||
/**
|
||||
* \fn int SDL_GetTexturePalette(SDL_TextureID textureID, SDL_Color * colors, int firstcolor, int ncolors)
|
||||
*
|
||||
* \brief Update an indexed texture with a color palette
|
||||
* \brief Get the color palette from an indexed texture if it has one.
|
||||
*
|
||||
* \param texture The texture to update
|
||||
* \param colors The array to fill with RGB color data
|
||||
|
Loading…
x
Reference in New Issue
Block a user