diff options
author | Kristian Høgsberg <[email protected]> | 2010-04-22 13:30:03 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-04-27 13:09:31 -0400 |
commit | 1741ddb747ca0be284315adb4b6fe67ddf292d03 (patch) | |
tree | 879e8d81369f9c5aba4af51e00abcf2392262a35 /src/mesa/glapi/gen | |
parent | fa416106307dc193e2133aa6a29b9bcfc91f8b39 (diff) |
mesa: Move references to main/remap_helper.h to api_exec.c
Diffstat (limited to 'src/mesa/glapi/gen')
-rw-r--r-- | src/mesa/glapi/gen/remap_helper.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mesa/glapi/gen/remap_helper.py b/src/mesa/glapi/gen/remap_helper.py index 8b50526d2b0..69b8e5e9d02 100644 --- a/src/mesa/glapi/gen/remap_helper.py +++ b/src/mesa/glapi/gen/remap_helper.py @@ -65,17 +65,12 @@ class PrintGlRemap(gl_XML.gl_print_base): def printRealHeader(self): print '#include "main/dispatch.h"' + print '#include "main/remap.h"' print '' return def printBody(self, api): - print 'struct gl_function_remap {' - print ' GLint func_index;' - print ' GLint dispatch_offset; /* for sanity check */' - print '};' - print '' - pool_indices = {} print '/* this is internal to remap.c */' @@ -108,10 +103,7 @@ class PrintGlRemap(gl_XML.gl_print_base): print '' print '/* these functions need to be remapped */' - print 'static const struct {' - print ' GLint pool_index;' - print ' GLint remap_index;' - print '} MESA_remap_table_functions[] = {' + print 'static const struct gl_function_pool_remap MESA_remap_table_functions[] = {' # output all functions that need to be remapped # iterate by offsets so that they are sorted by remap indices for f in api.functionIterateByOffset(): |