I'm using a GlWindow to draw my elements.  However, I was wondering 
what's the best way to obtain a valid GL context without opening the 
window itself.

Basically, I want to obtain a GL context to query the graphics card 
capabilities without opening any fltk windows.

The reason to avoid opening the window is that the window size will be 
changed right afterwards according to some user parameters, which are 
not known at the time of window creation.  And those parameters need to 
know the gfx card capabilities first.

If the window is opened with fltk::check() or other, the window system 
has to do more work and the program's window goes from being one size 
for a little while to being the final size, which looks bad and is 
distracting to the user.

-- 
Gonzalo Garramuño
[EMAIL PROTECTED]

AMD4400 - ASUS48N-E
GeForce7300GT
Xubuntu Gutsy

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to