Hi,
I'm using IMG_Load() to load a PNG image with a transparent background, but when I apply the surface to the screen I get a coloured background. Sometimes green and sometimes white.
I can give it a background and the colourkey the background out, but IMG_Load() should be able to do this itself according to lazy foo.
I'm pretty new to SDL so perhaps I'm missing something obvious, thanks