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