aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11/xmesa.h')
-rw-r--r--src/mesa/drivers/x11/xmesa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xmesa.h b/src/mesa/drivers/x11/xmesa.h
index cc878e7402e..84b2b27006d 100644
--- a/src/mesa/drivers/x11/xmesa.h
+++ b/src/mesa/drivers/x11/xmesa.h
@@ -241,6 +241,12 @@ extern XMesaBuffer XMesaGetCurrentReadBuffer( void );
/*
+ * Return display of current context.
+ */
+extern Display *XMesaGetCurrentDisplay( void );
+
+
+/*
* Swap the front and back buffers for the given buffer. No action is
* taken if the buffer is not double buffered.
*/