[SDL] SDL_Image and OpenGL

Zhuang Zhao zhuazhao at yahoo.com
Thu Nov 9 03:52:38 PST 2006


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.
Thanks
James



If You ahve any questions, please call me at 301-610-9966    zhuazhao at yahoo.com

 
---------------------------------
Sponsored Link

Try Netflix today! With plans starting at only $5.99 a month what are you waiting for?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061109/fededf3d/attachment.html 


More information about the SDL mailing list