Browse Source

Improved the pitch variable description

Sam Lantinga 10 years ago
parent
commit
48481c8e55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_render.h

+ 1 - 1
include/SDL_render.h

@@ -371,7 +371,7 @@ extern DECLSPEC int SDLCALL SDL_GetTextureBlendMode(SDL_Texture * texture,
  *  \param rect      A pointer to the rectangle of pixels to update, or NULL to
  *                   update the entire texture.
  *  \param pixels    The raw pixel data.
- *  \param pitch     The number of bytes between rows of pixel data.
+ *  \param pitch     The number of bytes in a row of pixel data, including padding between lines.
  *
  *  \return 0 on success, or -1 if the texture is not valid.
  *