Skip to content

Commit 4f51f95

Browse files
committed
Updated SDL_StretchSurface() documentation
Fixes #13135 (cherry picked from commit 7db0ac7)
1 parent b076f4b commit 4f51f95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/SDL3/SDL_surface.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,10 +1279,11 @@ extern SDL_DECLSPEC bool SDLCALL SDL_BlitSurfaceUncheckedScaled(SDL_Surface *src
12791279
*
12801280
* \param src the SDL_Surface structure to be copied from.
12811281
* \param srcrect the SDL_Rect structure representing the rectangle to be
1282-
* copied, may not be NULL.
1282+
* copied, or NULL to copy the entire surface.
12831283
* \param dst the SDL_Surface structure that is the blit target.
12841284
* \param dstrect the SDL_Rect structure representing the target rectangle in
1285-
* the destination surface, may not be NULL.
1285+
* the destination surface, or NULL to fill the entire
1286+
* destination surface.
12861287
* \param scaleMode the SDL_ScaleMode to be used.
12871288
* \returns true on success or false on failure; call SDL_GetError() for more
12881289
* information.

0 commit comments

Comments
 (0)