In choose_visual() we need to know if we're being called from
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Jan 2005 21:56:16 +0000 (21:56 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 6 Jan 2005 21:56:16 +0000 (21:56 +0000)
commit1f98ee90228aa56df207cdbd223bb4b8c0bb15d9
tree2fe5121971e4b13cb2268239499beeecb1701f0e
parent8bb717d2d54c6e74db3008d30ea90200e578e42c
In choose_visual() we need to know if we're being called from
glXChooseVisual() or glXChooseFBConfig() so that we handle the
GLX_DOUBLEBUFFER and GLX_STEREO tokens correctly.
Added some new error checking in those functions too.
src/mesa/drivers/x11/fakeglx.c