Mesa (7.10): glx: Dead code removal

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Mon Jun 6 16:13:28 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 12537b0baf6c7e28ece07bf198342669bc9c5533
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12537b0baf6c7e28ece07bf198342669bc9c5533

Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sun Jun  5 19:55:51 2011 -0400

glx: Dead code removal

Remove a redundant ifndef GLX_USE_APPLEGL

Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
(cherry picked from commit 3843bbcb4ca4de232dbae6ba3ae619ddfc93508b)

---

 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 ce9d778..4b1133c 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




More information about the mesa-commit mailing list