[SDL] SDL 1.3 and rendering API state management

Juanval juanval at gmail.com
Thu Sep 7 00:05:17 PDT 2006

On 9/6/06, Bob Pendleton <bob at pendleton.com> wrote:
> > And what if you want a GUI on top of your 3D environment?
> In the same window? Then you use the 3D API and build a GUI from scratch
> or find one that works that way.
> >
> > Honestly, the best way is to choose one graphics lib (OpenGL, whatever) and
> > get your toolkit to use this for all of your drawings.
> That is not always the case. It makes perfect sense to implement a drop
> down menu as a 2D window that is drawn on top of all other windows. Not
> even hard to do using any modern windowing system.

Well, I wouldn't use that little trick if I hoped my program to work
well with some weird window managers in Linux (like Ion, wmi, etc)
that manage the window positions as they see fit, and not as the app
asks them to.

Just my 2 cents...

see ya

More information about the SDL mailing list