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

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Sun Jun 5 22:11:57 UTC 2011


Module: Mesa
Branch: master
Commit: 488d6c739f5b6cdfa2c670322057c699644d4e52
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=488d6c739f5b6cdfa2c670322057c699644d4e52

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>

---

 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 a443f78..f9ab222 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -333,6 +333,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