diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci index 2ac2b4425..97610f9aa 100644 --- a/build-scripts/SDL_migration.cocci +++ b/build-scripts/SDL_migration.cocci @@ -3189,3 +3189,8 @@ typedef SDL_Colour, SDL_Color; - SDL_MixAudioFormat + SDL_MixAudio (...) +@@ +@@ +- SDL_BlitScaled ++ SDL_BlitSurfaceScaled + (...) diff --git a/docs/README-migration.md b/docs/README-migration.md index b5d7c784e..89b9cf9b0 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -1507,6 +1507,7 @@ SDL_SoftStretch() now takes a scale paramater. SDL_PixelFormatEnum is used instead of Uint32 for API functions that refer to pixel format by enumerated value. The following functions have been renamed: +* SDL_BlitScaled() => SDL_BlitSurfaceScaled() * SDL_FillRect() => SDL_FillSurfaceRect() * SDL_FillRects() => SDL_FillSurfaceRects() * SDL_FreeSurface() => SDL_DestroySurface() diff --git a/include/SDL3/SDL_oldnames.h b/include/SDL3/SDL_oldnames.h index e20e6a154..d1a9bade7 100644 --- a/include/SDL3/SDL_oldnames.h +++ b/include/SDL3/SDL_oldnames.h @@ -503,6 +503,7 @@ #define SDL_strtokr SDL_strtok_r /* ##SDL_surface.h */ +#define SDL_BlitScaled SDL_BlitSurfaceScaled #define SDL_FillRect SDL_FillSurfaceRect #define SDL_FillRects SDL_FillSurfaceRects #define SDL_FreeSurface SDL_DestroySurface @@ -1021,6 +1022,7 @@ #define SDL_strtokr SDL_strtokr_renamed_SDL_strtok_r /* ##SDL_surface.h */ +#define SDL_BlitScaled SDL_BlitScaled_renamed_SDL_BlitSurfaceScaled #define SDL_FillRect SDL_FillRect_renamed_SDL_FillSurfaceRect #define SDL_FillRects SDL_FillRects_renamed_SDL_FillSurfaceRects #define SDL_FreeSurface SDL_FreeSurface_renamed_SDL_DestroySurface