summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-06-05 19:55:51 -0400
committerJeremy Huddleston <jeremyhu@apple.com>2011-06-13 23:10:40 -0700
commit858db8cd4e717c8bc08db8cffa489b5b88058988 (patch)
tree2e31f87fc532442ead6a06a2cce4e50582edaec0
parentd8802cd242e6ef1b5f19ce8fc927c219981ece81 (diff)
glx: Dead code removal
Remove a redundant ifndef GLX_USE_APPLEGL Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 3843bbcb4ca4de232dbae6ba3ae619ddfc93508b)
-rw-r--r--src/glx/glxcurrent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index ce9d77865af..4b1133cb638 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