From: Jeremy Huddleston Date: Sun, 5 Jun 2011 23:55:51 +0000 (-0400) Subject: glx: Dead code removal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3843bbcb4ca4de232dbae6ba3ae619ddfc93508b;p=mesa.git glx: Dead code removal Remove a redundant ifndef GLX_USE_APPLEGL Signed-off-by: Jeremy Huddleston --- diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c index 27a0ef9fcda..b3009580d13 100644 --- a/src/glx/glxcurrent.c +++ b/src/glx/glxcurrent.c @@ -160,12 +160,10 @@ _X_HIDDEN void __glXSetCurrentContextNull(void) { __glXSetCurrentContext(&dummyContext); -#ifndef GLX_USE_APPLEGL #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) _glapi_set_dispatch(NULL); /* no-op functions */ _glapi_set_context(NULL); #endif -#endif } _X_EXPORT GLXContext