Renamed SDL_SoftStretch() to SDL_StretchSurface()

Fixes https://github.com/libsdl-org/SDL/issues/12168
This commit is contained in:
Sam Lantinga
2025-02-03 08:32:37 -08:00
parent f40ef62a2a
commit 8e51b2468a
12 changed files with 24 additions and 27 deletions

View File

@@ -385,7 +385,7 @@ bool SDL_SW_CopyYUVToRGB(SDL_SW_YUVTexture *swdata, const SDL_Rect *srcrect, SDL
}
if (stretch) {
SDL_Rect rect = *srcrect;
return SDL_SoftStretch(swdata->stretch, &rect, swdata->display, NULL, SDL_SCALEMODE_NEAREST);
return SDL_StretchSurface(swdata->stretch, &rect, swdata->display, NULL, SDL_SCALEMODE_NEAREST);
} else {
return true;
}