[SDL] SDL Surfaces and OpenGL

Antonio SJ Musumeci asm3072 at njit.edu
Fri Nov 11 14:03:41 PST 2005


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
> 




More information about the SDL mailing list