Mesa (7.9): apple: Re-add driContext and do_destroy

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Tue Jun 14 06:22:47 UTC 2011


Module: Mesa
Branch: 7.9
Commit: e03abf70cde19b29489378ef6a8d6f79c7b3c91c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e03abf70cde19b29489378ef6a8d6f79c7b3c91c

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 b453e6d..897fb74 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -342,6 +342,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