glx: glX_proto_send.py: use correct compile guard GLX_INDIRECT_RENDERING
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 13 Apr 2017 16:17:45 +0000 (17:17 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 4 May 2017 17:11:50 +0000 (18:11 +0100)
commit6177d60a374a3d48969fcb062ac1d82465850cb4
tree075be2a1527546f72bd519ec044fe2c073ec8d74
parent123c1f69c0ecc47925f02babd04305796c436c73
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: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/glx/glxcmds.c
src/mapi/glapi/gen/glX_proto_send.py