[SDL] SDL_Image and OpenGL
Rasmus Neckelmann
neckelmann at gmail.com
Thu Nov 9 04:57:39 PST 2006
On 11/9/06, Zhuang Zhao <zhuazhao at yahoo.com> wrote:
> Hi
> I used to use BMP loader to load from images files to use as a OpenGL
> Texture. However, since i started using IMG_Load*, my textures turn out
> weird. They have repeating bands of red, green, and blue instead of the real
> texture. I read previous posts on PNG files and OpenGL, but i can't get it
> to work right.
Code example please, it's hard to pinpoint what's wrong with the given
information.
--
Cheers,
Rasmus Neckelmann
More information about the SDL
mailing list