|
@@ -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.
|
|
* 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.
|
|
* 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
|
|
* You may pass NULL for pixels and 0 for pitch to create a surface that you
|
|
|
* will fill in with valid values later.
|
|
* 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 width the width of the surface.
|
|
|
* \param height the height of the surface.
|
|
* \param height the height of the surface.
|
|
|
* \param format the SDL_PixelFormat for the new surface's pixel format.
|
|
* \param format the SDL_PixelFormat for the new surface's pixel format.
|