[SDL] OpenGL Textures

Ray Kelm rhk at newimage.com
Mon Aug 13 07:40:00 PDT 2001


On Monday 13 August 2001 05:24, you wrote:
> Lloyd Dupont <lloyd at galador.net> wrote:
> >    /* GL surfaces are upsidedown and RGB, not BGR :-) */
>
> [ broken code ]
>
> maybe we should add texture loading functions to SDL_image, since nobody
> seems to get it right anyway
>

Actually, we should have an SDL-GL utility library. surface to texture, 
surface to sub-texture, readpixels, and writepixels.

-Ray




More information about the SDL mailing list