glx: Fix build errors with --enable-mangling (v2)
authorKyle Brenneman <kbrenneman@nvidia.com>
Mon, 28 Sep 2015 17:59:21 +0000 (11:59 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 2 Oct 2015 12:22:46 +0000 (13:22 +0100)
commita27f2d991b1723c3349623401ce3c8f26dcdb28b
treec3867b3bf96c436b4263910cfecc8c81da36b253
parent85313ff8ab1e3fad9679e05a97a7fd55ecf87291
glx: Fix build errors with --enable-mangling (v2)

Rearranged the GLX_ALIAS macro in glextensions.h so that it will pick up
the renames from glx_mangle.h.

Fixed the alias attribute for glXGetProcAddress when USE_MGL_NAMESPACE is
defined.

v2: Add a comment clarifying why GLX_ALIAS needs two macros.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55552
Signed-off-by: Kyle Brenneman <kbrenneman@nvidia.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/glx/glxcmds.c
src/glx/glxextensions.h