mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-25 16:11:40 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -180,18 +180,11 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_CreateSurface(int width, int heigh
|
||||
* you must free the surface before you free the pixel data.
|
||||
*
|
||||
* Pitch is the offset in bytes from one row of pixels to the next, e.g.
|
||||
* `width*4` for `SDL_PIXELFORMAT_RGBA8888`.
|
||||
* `(width * 4)` for `SDL_PIXELFORMAT_RGBA8888`.
|
||||
*
|
||||
* You may pass NULL for pixels and 0 for pitch to create a surface that you
|
||||
* will fill in with valid values later.
|
||||
*
|
||||
* This is a line of text added to the wiki to test the wikiheaders bridge. If
|
||||
* you see me hanging around, please delete me, I shouldn't still be here.
|
||||
*
|
||||
* Delete this line, too.
|
||||
*
|
||||
* Me too.
|
||||
*
|
||||
* \param width the width of the surface.
|
||||
* \param height the height of the surface.
|
||||
* \param format the SDL_PixelFormat for the new surface's pixel format.
|
||||
|
||||
Reference in New Issue
Block a user