glx: Correctly look up the dri2 context pointer for SetTexBuffer.
authorEric Anholt <eric@anholt.net>
Fri, 23 Jul 2010 21:51:06 +0000 (14:51 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 24 Jul 2010 03:58:12 +0000 (20:58 -0700)
commit566373967a6a63b6a9c85a2392bc827ac7ef679f
treecd3ef234c05c1d132dadc1028e12132d0ece64d8
parentd77bb8e059ecfed9b714301fc31b093c6026c7bc
glx: Correctly look up the dri2 context pointer for SetTexBuffer.

gc->driContext points at the second member of the dri2 context.  The
dri2 context is just a subclass of the GLX context.

Fixes piglit tfp testcase.
src/glx/dri2_glx.c