Mesa (master): apple: Dead code removal

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Mon Jun 13 21:53:31 UTC 2011


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

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>

---

 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 9b8605f..8e5bc0b 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 9262f86..fa2e2d3 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -335,7 +335,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