summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-12-05 19:52:39 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-01-18 16:01:14 +0000
commitf121ac68b0b4e3b132201ec5fe13822d5a8cc162 (patch)
tree255368cfd4105e6e72703031b5115517b0249f6c /src/glx
parentb7ac0f567123c96b5cd9e3485b963a5c0a0db66a (diff)
glx: remove always false ifdef GLX_NO_STATIC_EXTENSION_FUNCTIONS
Quick search through git history (of both mesa and xserver) hows no instances where this was ever set. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/glxextensions.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 743ed97fec3..6a670063025 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -281,10 +281,6 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name);
/* GLX_ALIAS should be used for functions with a non-void return type.
GLX_ALIAS_VOID is for functions with a void return type. */
-#ifdef GLX_NO_STATIC_EXTENSION_FUNCTIONS
-# define GLX_ALIAS(return_type, real_func, proto_args, args, aliased_func)
-# define GLX_ALIAS_VOID(real_func, proto_args, args, aliased_func)
-#else
# if defined(__GNUC__) && !defined(GLX_ALIAS_UNSUPPORTED)
/* GLX_ALIAS and GLX_ALIAS_VOID both expand to the macro GLX_ALIAS2. Using the
* extra expansion means that the name mangling macros in glx_mangle.h will
@@ -305,7 +301,6 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name);
void real_func proto_args \
{ aliased_func args ; }
# endif /* __GNUC__ */
-#endif /* GLX_NO_STATIC_EXTENSION_FUNCTIONS */
#ifdef __cplusplus
}