apple: Dead code removal
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit e903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e)
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 @@
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 0c99024..390e6b0 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -344,7 +344,6 @@
#if defined(GLX_DIRECT_RENDERING) && defined(GLX_USE_APPLEGL)
void *driContext;
- Bool do_destroy;
#endif
/**