[SDL] Re: opengl inside sdl window
Pete Shinners
pete at visionart.com
Thu Apr 26 10:54:16 PDT 2001
"Jacek Pop³awski" <jp at ulgo.koti.com.pl> wrote
> I have one, big SDL window with paragui buttons. Now I want 4 OpenGL
> views inside it, like in 3D Studio, Blender, or any other 3D modeller.
> Is it a way to create 4 diffrent areas in that one window, or should I
> create 4 surfaces and copy them to first when I need it?
use the glViewPort commands to specify an active "sub-area" for
opengl to render to.
More information about the SDL
mailing list