glx: Dead code removal
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 5 Jun 2011 23:55:51 +0000 (19:55 -0400)
committerJeremy Huddleston <jeremyhu@apple.com>
Mon, 6 Jun 2011 00:52:15 +0000 (20:52 -0400)
Remove a redundant ifndef GLX_USE_APPLEGL

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/glxcurrent.c

index 27a0ef9..b300958 100644 (file)
@@ -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