progs/xdemos: fix some visual/fbconfig logic in glxinfo.c
authorBrian Paul <brianp@vmware.com>
Fri, 4 Dec 2009 15:09:55 +0000 (08:09 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 4 Dec 2009 15:09:57 +0000 (08:09 -0700)
commitca7cd3ade0f27f8f1d9532ad6281659e2522f0cf
treef1338511a07b0eb27074f40c896b434393f94850
parentfb83fa26c47a49db1673834fd5f013bbcacadf58
progs/xdemos: fix some visual/fbconfig logic in glxinfo.c

The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.
progs/xdemos/glxinfo.c