summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/glapi_x86.S
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-05-26 16:24:35 +0000
committerIan Romanick <[email protected]>2005-05-26 16:24:35 +0000
commit249db89b009e64812d4bcec80d0c5a64f1d65aeb (patch)
tree51bfbe6823e15ed3419de7d43213a7cc72704755 /src/mesa/x86/glapi_x86.S
parent020225496ecd47374a2f147974c23519c706b867 (diff)
Make a couple minor corrections to gl_API.xml. Fixes the name of an
extension that was missing the GL_ part and uses the core GL type names for vertex buffer object functions instead of the ARB names. Also commits the resulting changes to the generated code. Some how, the #if sequence disappeared in the 1.52 version of glapi_x86.S.
Diffstat (limited to 'src/mesa/x86/glapi_x86.S')
-rw-r--r--src/mesa/x86/glapi_x86.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S
index 6e8f32e373d..c0a971bd53b 100644
--- a/src/mesa/x86/glapi_x86.S
+++ b/src/mesa/x86/glapi_x86.S
@@ -29,6 +29,16 @@
#include "assyntax.h"
#include "glapioffsets.h"
+/* If we build with gcc's -fvisibility=hidden flag, we'll need to change
+* the symbol visibility mode to 'default'.
+*/
+#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
+# pragma GCC visibility push(default)
+# define HIDDEN(x) .hidden x
+#else
+# define HIDDEN(x)
+#endif
+
#ifndef __WIN32__
#if defined(STDCALL_API)