From e903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 13 Jun 2011 12:10:38 -0700 Subject: [PATCH] apple: Dead code removal Signed-off-by: Jeremy Huddleston --- src/glx/applegl_glx.c | 1 - src/glx/glxclient.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c index 9b8605f4075..8e5bc0b66c0 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 9262f86f1f3..fa2e2d360ca 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 /** -- 2.30.2