Documentation fix.
authorBob Pendleton <bob@pendleton.com>
Mon, 06 Jul 2009 21:48:52 +0000
changeset 3213 1f0f9172a1ff
parent 3212 759032c318d8
child 3214 5625ba0a1e25
Documentation fix.
include/SDL_video.h
--- 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