mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-22 10:06:23 +00:00
SDL_BlitSurface() and SDL_BlitSurfaceScaled() now have a const dstrect parameter
This was originally to avoid duplicating clipping work in Maelstrom on a 486 computer. This has been confusing for users and computers are a little faster these days, so we'll make it work the way people expect.
This commit is contained in:
@@ -1717,6 +1717,8 @@ But if you're migrating your code which uses masks, you probably have a format i
|
||||
0x0000F800 0x000007E0 0x0000001F 0x00000000 => SDL_PIXELFORMAT_RGB565
|
||||
```
|
||||
|
||||
SDL_BlitSurface() and SDL_BlitSurfaceScaled() now have a const `dstrect` parameter and do not fill it in with the final destination rectangle.
|
||||
|
||||
SDL_BlitSurfaceScaled() and SDL_BlitSurfaceUncheckedScaled() now take a scale paramater.
|
||||
|
||||
SDL_SoftStretch() now takes a scale paramater.
|
||||
|
||||
Reference in New Issue
Block a user