projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8593bb3
)
glx: Dead code removal
author
Jeremy Huddleston
<jeremyhu@apple.com>
Sun, 5 Jun 2011 23:55:51 +0000
(19:55 -0400)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/src/glx/glxcurrent.c
b/src/glx/glxcurrent.c
index 27a0ef9fcdafef05e8e9519d8999deb02bdf878b..b3009580d13028adda48dcf40024ec853309f7ca 100644
(file)
--- 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