Mesa (7.10): apple: Dead code removal

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Tue Jun 14 06:24:39 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 338e8e5f146eb0f2497d21222d2ebbaf6a5774a4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=338e8e5f146eb0f2497d21222d2ebbaf6a5774a4

Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Mon Jun 13 12:10:38 2011 -0700

apple: Dead code removal

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
(cherry picked from commit e903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e)
(cherry picked from commit 5078cb68586a52e2a2a991c6e89ed42e8bac7d96)

---

 src/glx/applegl_glx.c |    1 -
 src/glx/glxclient.h   |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c
index e888a0f..92c785f 100644
--- a/src/glx/applegl_glx.c
+++ b/src/glx/applegl_glx.c
@@ -116,7 +116,6 @@ applegl_create_context(struct glx_screen *psc,
 
    gc->vtable = &applegl_context_vtable;
    gc->driContext = NULL;
-   gc->do_destroy = False;
 
    /* TODO: darwin: Integrate with above to do indirect */
    if(apple_glx_create_context(&gc->driContext, dpy, screen, config, 
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 2152e16..9b795ff 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -343,7 +343,6 @@ struct glx_context
 
 #if defined(GLX_DIRECT_RENDERING) && defined(GLX_USE_APPLEGL)
    void *driContext;
-   Bool do_destroy;
 #endif
 
     /**




More information about the mesa-commit mailing list