[SDL] Using SDL surfaces with OpenGL
julo at altern.org
Fri Aug 24 00:40:01 PDT 2001
I read that an SDL_OPENGLBLIT mode existed. Is it implemented ? Does it
enable me to do both Open GL and direct blitting ?
Le Jeudi 23 Août 2001 14:48, vous avez écrit :
> > Hi!
> > I've got a program running in double buffer mode using HWSURFACE.
> > Now I want to modify it this way:
> > I want to display an OpenGL rectangle covering all the screen with a
> > texture mapped on it. This texture (you've probably guessed) should be
> > the surface I formerly used to display the screen.
> You need to use SDL's OpenGL support instead of 2D hardware
> double-buffering. Unfortunately, you will not be able to quickly blit to
> the screen when you use OpenGL.
> See ya,
> -Sam Lantinga, Software Engineer, Blizzard Entertainment
> SDL mailing list
> SDL at libsdl.org
More information about the SDL