mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-23 10:09:48 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
5c875e1183
commit
9406a9d527
@ -1963,6 +1963,12 @@ extern SDL_DECLSPEC SDL_Surface * SDLCALL SDL_RenderReadPixels(SDL_Renderer *ren
|
||||
* starting each new frame's drawing, even if you plan to overwrite every
|
||||
* pixel.
|
||||
*
|
||||
* Please note, that in case of rendering to a texture - there is **no need**
|
||||
* to call `SDL_RenderPresent` after drawing needed objects to a texture, you
|
||||
* are only required to change back the rendering target to default via
|
||||
* `SDL_SetRenderTarget(renderer, NULL)` afterwards, as textures by themselves
|
||||
* do not have a concept of backbuffers.
|
||||
*
|
||||
* \param renderer the rendering context.
|
||||
* \returns 0 on success or a negative error code on failure; call
|
||||
* SDL_GetError() for more information.
|
||||
|
Loading…
Reference in New Issue
Block a user