GL in SDL

Hello,
I know SDL supports GL naturally but what I seek is smt. different. I
want to manage more than one GL windows. Doing this by changing
viewports in GL seems not possible according to my previous efforts. Is
there way to create a GL context on an already created SDL surface
(assume created as a doublebuffered hardware surface but not with
SDL_OPENGL flag)? If yes is there a way to create multiple contexts and
switch between them?–
Perit Bezek :slight_smile:

sdl itself is not capable of multiple windows, it was planned for sdl 2.0
tough.> ----- Original Message -----

From: e120279@ceng.metu.edu.tr (Perit Bezek)
To:
Sent: Thursday, August 21, 2003 2:03 PM
Subject: [SDL] GL in SDL

Hello,
I know SDL supports GL naturally but what I seek is smt. different. I
want to manage more than one GL windows. Doing this by changing
viewports in GL seems not possible according to my previous efforts. Is
there way to create a GL context on an already created SDL surface
(assume created as a doublebuffered hardware surface but not with
SDL_OPENGL flag)? If yes is there a way to create multiple contexts and
switch between them?

Perit Bezek :slight_smile:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl