GLX: attempt to fix glean makeCurrent test cases.
authorDave Airlie <airlied@redhat.com>
Thu, 11 Jun 2009 00:50:32 +0000 (10:50 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Jun 2009 03:59:28 +0000 (13:59 +1000)
commit77506dac8e81e9548a7e9680ce367175fe5747af
treed13f6d52cb68c3743afc9d40bb98506af0c9cd08
parent856221d6995a7754cde60748d7c229b5278f043e
GLX: attempt to fix glean makeCurrent test cases.

Two parts to this:

One we don't keep pointers to possibly freed memory anymore once we unbind the
drawables from the context. Brian I need to figure out what the comment
you made there, can we get a glean/piglit test so we can fix it properly?

If the new gc is the same as the oldGC, we call the unbind even though
we just bound it in that function. doh.
src/glx/x11/glxcurrent.c
src/mesa/drivers/dri/common/dri_util.c