Skip to content

Commit 495e3ef

Browse files
authored
Prep alphablit.c for SDL3 (#3338)
2 parents 011162a + 8337220 commit 495e3ef

File tree

2 files changed

+180
-151
lines changed

2 files changed

+180
-151
lines changed

src_c/_blit_info.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ typedef struct {
1313
Uint8 *d_pixels;
1414
int d_pxskip;
1515
int d_skip;
16-
SDL_PixelFormat *src;
17-
SDL_PixelFormat *dst;
16+
PG_PixelFormat *src;
17+
SDL_Palette *src_palette;
18+
PG_PixelFormat *dst;
19+
SDL_Palette *dst_palette;
1820
Uint8 src_blanket_alpha;
1921
int src_has_colorkey;
2022
Uint32 src_colorkey;

0 commit comments

Comments
 (0)