summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-06-13 12:10:38 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-06-13 14:51:01 -0700
commite903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e (patch)
tree89ec7a0eff88c5498e911e6f782283ef4d5c7e6e
parentb44d13e67bfe81b2d7af4aeda2c3caf7f252bd0f (diff)
apple: Dead code removal
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/glx/applegl_glx.c1
-rw-r--r--src/glx/glxclient.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c
index 9b8605f407..8e5bc0b66c 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 9262f86f1f..fa2e2d360c 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
/**