Remove SDL_{Set,Get}SurfaceScale().

Add Scale parameter to SDL_BlitSurfaceScaled() and SDL_BlitSurfaceScaledUnchecked()
(see #8732)
This commit is contained in:
Sylvain authored and Sam Lantinga committed 2023-12-22 02:08:49 -08:00
1 parent e66896406d
commit 5dba04b29b
10 files changed
+38 -128

No files matched your search

+1
View File
@@ -1158,6 +1158,7 @@ But if you're migrating your code which uses masks, you probably have a format i
0x0000F800 0x000007E0 0x0000001F 0x00000000 => SDL_PIXELFORMAT_RGB565
```
SDL_BlitSurfaceScaled() and SDL_BlitSurfaceUncheckedScaled() now take a scale paramater.
The following functions have been renamed:
* SDL_FillRect() => SDL_FillSurfaceRect()