summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesa.h
diff options
context:
space:
mode:
authorAndy Skinner <[email protected]>2011-02-11 07:31:25 -0800
committerBrian Paul <[email protected]>2011-02-22 12:47:17 -0700
commit90e227f0791cb585dc4e4e1f71e32c67f5e20436 (patch)
tree5f7e2685493684d6d051e93dc8375f5674461bba /src/mesa/drivers/x11/xmesa.h
parent2bfc23fb86964e4153f57f2a56248760f6066033 (diff)
xlib: pass Display pointer to XMesaGarbageCollect()
Fixes an issue when different displays are used on different threads. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/xmesa.h')
-rw-r--r--src/mesa/drivers/x11/xmesa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesa.h b/src/mesa/drivers/x11/xmesa.h
index 98737fab248..347394e0a26 100644
--- a/src/mesa/drivers/x11/xmesa.h
+++ b/src/mesa/drivers/x11/xmesa.h
@@ -324,7 +324,7 @@ extern const char *XMesaGetString( XMesaContext c, int name );
*
* New in Mesa 2.3.
*/
-extern void XMesaGarbageCollect( void );
+extern void XMesaGarbageCollect( XMesaDisplay* dpy );