mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
glx: Dead code removal
Remove a redundant ifndef GLX_USE_APPLEGL
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 3843bbcb4c)
This commit is contained in:
parent
d8802cd242
commit
858db8cd4e
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue