mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 23:00:31 +01:00
glx: Dead code removal
Remove a redundant ifndef GLX_USE_APPLEGL Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
8593bb32ea
commit
3843bbcb4c
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