SDL_BlitSurface() comment: only dstrect is modified in function

(cherry picked from commit 035518d065)
This commit is contained in:
Petar Popovic 2025-04-20 21:40:47 +02:00 committed by Sam Lantinga
parent 093307f1f4
commit 5696677558
1 changed files with 2 additions and 2 deletions

View File

@ -808,8 +808,8 @@ extern DECLSPEC int SDLCALL SDL_FillRects
* *
* This assumes that the source and destination rectangles are the same size. * This assumes that the source and destination rectangles are the same size.
* If either `srcrect` or `dstrect` are NULL, the entire surface (`src` or * If either `srcrect` or `dstrect` are NULL, the entire surface (`src` or
* `dst`) is copied. The final blit rectangles are saved in `srcrect` and * `dst`) is copied. The final blit rectangle is saved in `dstrect` after
* `dstrect` after all clipping is performed. * all clipping is performed.
* *
* The blit function should not be called on a locked surface. * The blit function should not be called on a locked surface.
* *