[SDL] OpenGL Textures

Adam Gates adam at preston.net
Tue Aug 14 20:25:01 PDT 2001


Has anyone tried DevIL (http://www.imagelib.org/ or
http://openil.sourceforge.net/)?
It seems they have already support loading to a OpenGL texture (and a
couple of other targets ie DirectX).
I guess the question is now: Has anybody tried converting the DevIL
image to an SDL Surface?

Adam Gates wrote:
> 
> What is the best way to load image files into OpenGL textures?
> Should I use SDL_image to load it and then convert to an OpenGL texture?
> (Anybody have code for that?)
> Or use some other library?
> 
> Adam.
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl




More information about the SDL mailing list