[Mesa-users] glXChooseVisual fails if GLX_STEREO specified as false (default value)

Brian Paul brianp at vmware.com
Fri Oct 15 06:21:21 PDT 2010


On 10/14/2010 09:17 PM, Ricardo Tiago wrote:
> I'm using mesa 7.8.2 and when I specify GLX_STEREO in the list of
> attributes as false, which is the default value I can't get any visual
> from glXChooseVisual, however if I remove GLX_STEREO it works fine. I
> could only find a similar bug in
> http://bugs.freedesktop.org/show_bug.cgi?id=11705. Does anyone else
> seen similar behavior?

For glXChooseVisual(), GLX_STEREO does not take a true/false parameter 
after it.  Merely the presence of GLX_STEREO in the attribute list 
indicates that a stereo visual is required.

glXChooseFBConfig() works differently.  If you specify GLX_STEREO the 
next token indicates true/false.

-Brian


More information about the mesa-users mailing list