I think you are using wrong color masks when you create your image surface. Try this for a GL_BGRA texture: SDL_Surface *image = SDL_CreateRGBSurface(0, ...
確定! 回上一頁