[SDL] SDL Surfaces and OpenGL

Olof Bjarnason olof.bjarnason at gmail.com
Sat Nov 12 03:58:23 PST 2005


no standard sdl-blit functionality in opengl mode, sorry

On 11/12/05, Brian Barrett <brian.ripoff at gmail.com> wrote:
> i meant with the standard SDL functions. if your goiung to do custom
> stuff its fairly easy to appy it to  a texture, then render it on a
> quad...
>
> On 11/11/05, Antonio SJ Musumeci <asm3072 at njit.edu> wrote:
> > You could use glRenderPos and glDrawPixels.
> >
> > Brian Barrett wrote:
> > > you cannot blit sdl surfaces to the screen when using opengl.
> > >
> > > textures are the way to go, i understand
> > >
> > > On 11/11/05, Roger D. Vargas <roger at ehtsc.co.cu> wrote:
> > >
> > >>El vie, 11-11-2005 a las 07:27, Olof Bjarnason escribió:
> > >>
> > >>>Doing it "directly" is not recommended.
> > >>>
> > >>>But if you know your GL, you can upload SDL surfaces to it quite painfully..
> > >>>
> > >>
> > >>Do you have some example of bliting sdl surfaces with open gl? I mean
> > >>not by using the surface as a texture in a quad.
> > >>
> > >>--
> > >>Roger D. Vargas
> > >>Linux user #180787
> > >>dsgp.blogspot.com
> > >>* No hay nada tan importante que no pueda ser olvidado *
> > >>Alzheimer
> > >>
> > >>
> > >>_______________________________________________
> > >>SDL mailing list
> > >>SDL at libsdl.org
> > >>http://www.libsdl.org/mailman/listinfo/sdl
> > >>
> > >
> > >
> > > _______________________________________________
> > > SDL mailing list
> > > SDL at libsdl.org
> > > http://www.libsdl.org/mailman/listinfo/sdl
> > >
> >
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
> >
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>




More information about the SDL mailing list