Sync SDL3 wiki -> header
This commit is contained in:
@@ -1401,8 +1401,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ConvertEventToRenderCoordinates(SDL_Rendere
|
|||||||
* Set the drawing area for rendering on the current target.
|
* Set the drawing area for rendering on the current target.
|
||||||
*
|
*
|
||||||
* Drawing will clip to this area (separately from any clipping done with
|
* Drawing will clip to this area (separately from any clipping done with
|
||||||
* SDL_SetRenderClipRect), and the top left of the area will become
|
* SDL_SetRenderClipRect), and the top left of the area will become coordinate
|
||||||
* coordinate (0, 0) for future drawing commands.
|
* (0, 0) for future drawing commands.
|
||||||
*
|
*
|
||||||
* The area's width and height must be >= 0.
|
* The area's width and height must be >= 0.
|
||||||
*
|
*
|
||||||
@@ -2065,8 +2065,8 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_RenderReadPixels(SDL_Renderer *ren
|
|||||||
* should not be done; you are only required to change back the rendering
|
* should not be done; you are only required to change back the rendering
|
||||||
* target to default via `SDL_SetRenderTarget(renderer, NULL)` afterwards, as
|
* target to default via `SDL_SetRenderTarget(renderer, NULL)` afterwards, as
|
||||||
* textures by themselves do not have a concept of backbuffers. Calling
|
* textures by themselves do not have a concept of backbuffers. Calling
|
||||||
* SDL_RenderPresent while rendering to a texture will still update the
|
* SDL_RenderPresent while rendering to a texture will still update the screen
|
||||||
* screen with any current drawing that has been done _to the window itself_.
|
* with any current drawing that has been done _to the window itself_.
|
||||||
*
|
*
|
||||||
* \param renderer the rendering context.
|
* \param renderer the rendering context.
|
||||||
* \returns true on success or false on failure; call SDL_GetError() for more
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
||||||
|
|||||||
Reference in New Issue
Block a user