mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
Document that the pitch is the length of the image data for SDL_PIXELFORMAT_MJPG
This commit is contained in:
parent
a792434a37
commit
06602f4e80
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ typedef enum SDL_FlipMode
|
|||
* format with a pitch of 32 would consist of 32x32 bytes of Y plane followed
|
||||
* by 32x16 bytes of UV plane.
|
||||
*
|
||||
* When a surface holds MJPG format data, pixels points at the compressed JPEG image and pitch is the length of that data.
|
||||
*
|
||||
* \since This struct is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_CreateSurface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue