Switching from 8 bit to 32 bit sprites

Probably you have to set the blend mode first :-

https://wiki.libsdl.org/SDL_SetSurfaceBlendMode