Commit 48481c8e559797eec6f21fdb2430a11bb7b18dc1

Sam Lantinga 2014-11-29T11:18:49

Improved the pitch variable description

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_render.h b/include/SDL_render.h
index 076363b..e6084e9 100644
--- a/include/SDL_render.h
+++ b/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.
  *