Note that SDL_BlitSurface() was renamed SDL_BlitSurfaceScaled()

This commit is contained in:
Sam Lantinga 2024-05-24 05:33:51 -07:00
parent 836e6c1531
commit 7a043d9958
3 changed files with 8 additions and 0 deletions

View File

@ -3189,3 +3189,8 @@ typedef SDL_Colour, SDL_Color;
- SDL_MixAudioFormat
+ SDL_MixAudio
(...)
@@
@@
- SDL_BlitScaled
+ SDL_BlitSurfaceScaled
(...)

View File

@ -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()

View File

@ -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