xlib: pass Display pointer to XMesaGarbageCollect()
authorAndy Skinner <Andy.Skinner@mathworks.com>
Fri, 11 Feb 2011 15:31:25 +0000 (07:31 -0800)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Feb 2011 19:47:17 +0000 (12:47 -0700)
commit90e227f0791cb585dc4e4e1f71e32c67f5e20436
tree5f7e2685493684d6d051e93dc8375f5674461bba
parent2bfc23fb86964e4153f57f2a56248760f6066033
xlib: pass Display pointer to XMesaGarbageCollect()

Fixes an issue when different displays are used on different threads.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/x11/fakeglx.c
src/mesa/drivers/x11/xm_api.c
src/mesa/drivers/x11/xmesa.h