From 48481c8e559797eec6f21fdb2430a11bb7b18dc1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 29 Nov 2014 11:18:49 -0800 Subject: [PATCH] Improved the pitch variable description --- include/SDL_render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_render.h b/include/SDL_render.h index 076363b76..e6084e9e7 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. *