Mesa (7.10): apple: Re-add driContext and do_destroy
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Mon Jun 6 16:13:27 UTC 2011
Module: Mesa
Branch: 7.10
Commit: ee004cc681556b6f305676c66488ebdba933dbd6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee004cc681556b6f305676c66488ebdba933dbd6
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun Jun 5 18:02:44 2011 -0400
apple: Re-add driContext and do_destroy
Fixes regression introduced by: c491e585e43d48a2aeec96ccc4008da6c443fb42
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
(cherry picked from commit 488d6c739f5b6cdfa2c670322057c699644d4e52)
---
src/glx/glxclient.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 36a0808..c7c8228 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -341,6 +341,11 @@ struct glx_context
*/
Bool isDirect;
+#if defined(GLX_DIRECT_RENDERING) && defined(GLX_USE_APPLEGL)
+ void *driContext;
+ Bool do_destroy;
+#endif
+
/**
* \c dpy of current display for this context. Will be \c NULL if not
* current to any display, or if this is the "dummy context".
More information about the mesa-commit
mailing list