apple: Dead code removal
authorJeremy Huddleston <jeremyhu@apple.com>
Mon, 13 Jun 2011 19:10:38 +0000 (12:10 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Mon, 13 Jun 2011 21:51:01 +0000 (14:51 -0700)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/applegl_glx.c
src/glx/glxclient.h

index 9b8605f..8e5bc0b 100644 (file)
@@ -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, 
index 9262f86..fa2e2d3 100644 (file)
@@ -335,7 +335,6 @@ struct glx_context
 
 #if defined(GLX_DIRECT_RENDERING) && defined(GLX_USE_APPLEGL)
    void *driContext;
-   Bool do_destroy;
 #endif
 
     /**