Skip to content

Commit

Permalink
Update image.c
Browse files Browse the repository at this point in the history
Fix function declaration
  • Loading branch information
Starbuck5 committed Oct 11, 2024
1 parent ad13f51 commit f296139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_c/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ tobytes_surf_32bpp_sse42(SDL_Surface *surf, int flipped, char *data,
}
#endif /* PG_COMPILE_SSE4_2 */

#if SDL_VERSION_ATLEAST(3, 0, 0)
static void
#if SDL_VERSION_ATLEAST(3, 0, 0)
tobytes_surf_32bpp(SDL_Surface *surf,
const SDL_PixelFormatDetails *format_details, int flipped,
int hascolorkey, Uint32 colorkey, char *serialized_image,
Expand Down

0 comments on commit f296139

Please sign in to comment.