SDL_BlitSurface() comment: only dstrect is modified in function

This commit is contained in:
Petar Popovic
2025-04-20 21:40:47 +02:00
committed by Sam Lantinga
parent 40b1eac541
commit 035518d065

View File

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