Skip to content

Commit

Permalink
Sync SDL3 wiki -> header
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Jul 14, 2024
1 parent 5c875e1 commit 9406a9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/SDL3/SDL_render.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9406a9d

Please sign in to comment.