[SDL] Re: opengl inside sdl window

Devin Balkcom devin at ri.cmu.edu
Fri Apr 27 08:39:47 PDT 2001


I found this easier to do using OpenGL than SDL.
Look at the glViewport() command.  You might also
want to use glScissor and glEnable(GL_SCISSOR_TEST) (slow).

-Devin


Jacek Pop³awski 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?
> 
> --
> They'll take your diamonds, and then give you steel
> You'll be caught in the middle of the madness
> Just lost like them                                 "All The Fools Sailed Away"
> And part of all the pain that they feel                     - Ronnie James Dio






More information about the SDL mailing list