changeset 3213:1f0f9172a1ff

Documentation fix.
author Bob Pendleton <bob@pendleton.com>
date Mon, 06 Jul 2009 21:48:52 +0000
parents 759032c318d8
children 5625ba0a1e25
files include/SDL_video.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_video.h	Thu Jul 02 21:47:02 2009 +0000
+++ b/include/SDL_video.h	Mon Jul 06 21:48:52 2009 +0000
@@ -915,7 +915,7 @@
 /**
  * \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 @@
 /**
  * \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