mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +00:00
SDL API renaming: SDL_pixels.h
Fixes https://github.com/libsdl-org/SDL/issues/6886
This commit is contained in:
parent
3d063d7295
commit
083e436a1a
18 changed files with 126 additions and 96 deletions
|
@ -474,7 +474,7 @@ static int SW_RenderCopyEx(SDL_Renderer *renderer, SDL_Surface *surface, SDL_Tex
|
|||
* to be created. This makes all source pixels opaque and the colors get copied correctly.
|
||||
*/
|
||||
SDL_Surface *src_rotated_rgb;
|
||||
int f = SDL_MasksToPixelFormatEnum(src_rotated->format->BitsPerPixel,
|
||||
int f = SDL_GetPixelFormatEnumForMasks(src_rotated->format->BitsPerPixel,
|
||||
src_rotated->format->Rmask,
|
||||
src_rotated->format->Gmask,
|
||||
src_rotated->format->Bmask,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue