Problem with loading 8bit color RGBA for opengl


I’m having a problem with my opengl renderer and some png images I’m trying
to load. A screenshot of the problem is attached to this ticket:

It would be awesome if someone could help me to sort it out. I’m a little
bit lost. Did I forgot steps in the converting of the surfaces (converting
to SDL_PIXELFORMAT_ARGB8888 all the time)

It works fine for 8 bit palletized images though.–