xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return True
authorBrian Paul <brianp@vmware.com>
Tue, 3 Feb 2009 17:12:51 +0000 (10:12 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Feb 2009 22:36:38 +0000 (15:36 -0700)
commit49e80bf6b163310f7cd776261872201eea57053a
treedf04e7f40deb7a5e8402ae12b7190fcd10c269c1
parentb5d549e3514af1d299b27d80bd157a65f397fe15
xlib: use MESA_GLX_FORCE_DIRECT to make glXIsDirect() always return True

Some apps won't run w/ indirect rendering contexts.
Also, consolidate some context-init code in new init_glx_context() function.
src/mesa/drivers/x11/fakeglx.c