Sync wiki -> header

This commit is contained in:
SDL Wiki Bot 2022-03-18 17:30:05 +00:00
parent 40b7326b38
commit aef1e56737

View File

@ -1662,8 +1662,8 @@ extern DECLSPEC int SDLCALL SDL_RenderGeometryRaw(SDL_Renderer *renderer,
* Read pixels from the current rendering target to an array of pixels.
*
* **WARNING**: This is a very slow operation, and should not be used
* frequently. If you're using this on the main rendering target, it
* should be called after rendering and before SDL_RenderPresent().
* frequently. If you're using this on the main rendering target, it should be
* called after rendering and before SDL_RenderPresent().
*
* `pitch` specifies the number of bytes between rows in the destination
* `pixels` data. This allows you to write to a subrectangle or have padded