diff --git a/src_c/image.c b/src_c/image.c index 77d45c775b..e974a400b6 100644 --- a/src_c/image.c +++ b/src_c/image.c @@ -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,