mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 21:49:10 +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:
parent
198caa54a1
commit
67fa7a9138
4 changed files with 19 additions and 30 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue