diff options
author | Emil Velikov <[email protected]> | 2017-04-13 17:17:45 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-04 18:11:50 +0100 |
commit | 6177d60a374a3d48969fcb062ac1d82465850cb4 (patch) | |
tree | 075be2a1527546f72bd519ec044fe2c073ec8d74 /src/glx | |
parent | 123c1f69c0ecc47925f02babd04305796c436c73 (diff) |
glx: glX_proto_send.py: use correct compile guard GLX_INDIRECT_RENDERING
The code itself has nothing to do with shared glapi, thus having it
behind GLX_SHARED_GLAPI is misleading. Use GLX_INDIRECT_RENDERING
instead.
The latter macro is set at global scope by the Autotools and Scons build
systems.
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/glxcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 309d550107b..290c86c6cd2 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2652,7 +2652,7 @@ _GLX_PUBLIC void (*glXGetProcAddressARB(const GLubyte * procName)) (void) f = (gl_function) get_glx_proc_address((const char *) procName); if ((f == NULL) && (procName[0] == 'g') && (procName[1] == 'l') && (procName[2] != 'X')) { -#ifdef GLX_SHARED_GLAPI +#ifdef GLX_INDIRECT_RENDERING f = (gl_function) __indirect_get_proc_address((const char *) procName); #endif if (!f) |