So, I need somehow to convert the surface to RGBA surface, so I can use it with OpenGL's GL_RGBA.
I tried SDL_ConvertSurface() but it's not working, most likely due to wrong PixelFormat (I have no clue how to setup a proper RGBA pixelformat, I tried to copy one by one all values (except palette) from the primary surface but it's not working and the code is ugly as well). How to make the conversion?
Edited by Acharis, 05 January 2013 - 09:47 AM.






