summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es_generator.py
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-10-26 00:16:49 +0800
committerChia-I Wu <[email protected]>2010-10-27 11:07:29 +0800
commit07b85457d95bcc70588584e9380c51cd63aa3a2b (patch)
tree29ff81a555ddd8fe6a9f5509810a9034eae8f143 /src/mesa/main/es_generator.py
parente4dbfa44ed018d124e1531077d506c8c914c1a51 (diff)
glapi: Merge glapioffsets.h into glapidispath.h.
Move defines in glapioffsets.h to glapidispatch.h. Rename _gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number of entries in _glapi_table. Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and _gloffset_* to recursively define all SET/GET/CALL macros.
Diffstat (limited to 'src/mesa/main/es_generator.py')
-rw-r--r--src/mesa/main/es_generator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/es_generator.py b/src/mesa/main/es_generator.py
index b787f1bbf1a..4e5d6e5577d 100644
--- a/src/mesa/main/es_generator.py
+++ b/src/mesa/main/es_generator.py
@@ -220,7 +220,6 @@ extern void _mesa_error(void *ctx, GLenum error, const char *fmtString, ... );
#define GLAPIENTRY GL_APIENTRY
#endif
#include "%sapi/glapi/glapitable.h"
-#include "%sapi/glapi/glapioffsets.h"
#include "%sapi/main/glapidispatch.h"
#if FEATURE_remap_table
@@ -249,7 +248,7 @@ _mesa_map_static_functions_%s(void)
#endif
typedef void (*_glapi_proc)(void); /* generic function pointer */
-""" % (shortname, shortname, shortname, shortname, shortname, shortname);
+""" % (shortname, shortname, shortname, shortname, shortname);
# Finally we get to the all-important functions
print """/*************************************************************