Query for OpenGL Stereo Capability

Vadim Zeitlin vadim at wxwidgets.org
Wed Dec 5 12:56:49 PST 2007


On Wed, 5 Dec 2007 12:28:21 -0800 (PST) crjjrc <crjjrc at gmail.com> wrote:

c> > static method checking for a concrete attribute support -- I'm pretty sure
c> > there was a way to do it in OpenGL, wasn't there?
c> 
c> Not in OpenGL, no.  You can't issue any OpenGL commands without an
c> OpenGL context, and you can't get a context if you can't get a visual
c> from GTK or whichever windowing system is present.  If you're at all
c> familiar with GLUT, a simple cross-platform windowing toolkit, it
c> allows querying for a supported visual through this call:
c> 
c>    int visual_supported = glutGet(GLUT_DISPLAY_MODE_POSSIBLE);

 But how is this implemented?
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list