summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gltable.py
diff options
context:
space:
mode:
authorKendall Bennett <[email protected]>2003-10-21 22:22:17 +0000
committerKendall Bennett <[email protected]>2003-10-21 22:22:17 +0000
commitc40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c (patch)
tree88f9ef7be42df7a7afee101baf18aff063ede9f8 /src/mesa/glapi/gltable.py
parentb1ca87a565033a767042120288b2c45723cf79cc (diff)
Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
Diffstat (limited to 'src/mesa/glapi/gltable.py')
-rw-r--r--src/mesa/glapi/gltable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gltable.py b/src/mesa/glapi/gltable.py
index 54dacb18d2c..0cfa5efd6d5 100644
--- a/src/mesa/glapi/gltable.py
+++ b/src/mesa/glapi/gltable.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# $Id: gltable.py,v 1.3 2001/11/18 22:42:57 brianp Exp $
+# $Id: gltable.py,v 1.4 2003/10/21 22:22:18 kendallb Exp $
# Mesa 3-D graphics library
# Version: 4.1
@@ -77,7 +77,7 @@ def PrintRecords():
pass
prevk = int(k)
(name, returnType, argList) = records[k]
- print ' %s (*%s)(%s); /* %d */' % (returnType, name, argList, k)
+ print ' %s (GLAPIENTRYP %s)(%s); /* %d */' % (returnType, name, argList, k)
#endef