summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-20 21:12:35 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-20 21:12:35 +0000
commitc8f86105d0df2ef14c9dd9fc193f8cd40b58fc00 (patch)
tree18531607f7472da776e66a46bd4d62e7bc42e5bd /src/mesa/glapi
parent6f980dbf21893af4e7413dbb0373fb79761294c7 (diff)
Disable the FASTCALL optimization because it still breaks server-side GLX.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/gl_XML.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/glapi/gl_XML.py b/src/mesa/glapi/gl_XML.py
index 11b23b7a86..0cea268777 100644
--- a/src/mesa/glapi/gl_XML.py
+++ b/src/mesa/glapi/gl_XML.py
@@ -194,11 +194,9 @@ class gl_print_base:
"""
self.undef_list.append("FASTCALL")
- print """# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
-# define FASTCALL __attribute__((fastcall))
-# else
-# define FASTCALL
-# endif"""
+ # I've removed the previous code for __attribute__((fastcall))
+ # because it breaks server-side GLX. (BrianP)
+ print "#define FASTCALL"
return