diff options
author | Jeremy Huddleston <[email protected]> | 2011-06-05 19:55:51 -0400 |
---|---|---|
committer | Jeremy Huddleston <[email protected]> | 2011-06-05 20:52:15 -0400 |
commit | 3843bbcb4ca4de232dbae6ba3ae619ddfc93508b (patch) | |
tree | 258aaa3967fd378543955c811286ce19aadc51d2 /src/glx/glxcurrent.c | |
parent | 8593bb32eae5368c1ba52504133b0bf200bf8e74 (diff) |
glx: Dead code removal
Remove a redundant ifndef GLX_USE_APPLEGL
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r-- | src/glx/glxcurrent.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |