diff options
author | marha <marha@users.sourceforge.net> | 2011-06-09 09:27:21 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-09 09:27:21 +0200 |
commit | 0de14292c4fac98f91105baf9cc16e58f25d4d77 (patch) | |
tree | 1704165c3d7f05bde08dc6d3d52ee33aed0f270f /mesalib/src/mesa/main/es_generator.py | |
parent | 637bc31135b378ea9521b5a93b14bdce482da209 (diff) | |
parent | 0a9d2abef2e6fac5d52556969655a62711df6418 (diff) | |
download | vcxsrv-0de14292c4fac98f91105baf9cc16e58f25d4d77.tar.gz vcxsrv-0de14292c4fac98f91105baf9cc16e58f25d4d77.tar.bz2 vcxsrv-0de14292c4fac98f91105baf9cc16e58f25d4d77.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
mesalib/include/GL/internal/dri_interface.h
mesalib/src/gallium/auxiliary/util/u_math.h
mesalib/src/mapi/glapi/gen/Makefile
mesalib/src/mapi/glapi/gen/gl_table.py
mesalib/src/mesa/SConscript
mesalib/src/mesa/main/dlist.c
mesalib/src/mesa/main/es_generator.py
mesalib/src/mesa/main/imports.h
mesalib/src/mesa/main/teximage.c
mesalib/src/mesa/main/uniforms.c
mesalib/src/mesa/state_tracker/st_draw.c
mesalib/src/mesa/state_tracker/st_program.c
mesalib/src/mesa/vbo/vbo_save_api.c
xorg-server/xkeyboard-config/configure.in
xorg-server/xkeyboard-config/rules/Makefile.am
xorg-server/xkeyboard-config/rules/base.xml.in
xorg-server/xkeyboard-config/symbols/cz
xorg-server/xkeyboard-config/symbols/in
Diffstat (limited to 'mesalib/src/mesa/main/es_generator.py')
-rw-r--r-- | mesalib/src/mesa/main/es_generator.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mesalib/src/mesa/main/es_generator.py b/mesalib/src/mesa/main/es_generator.py index 0e0d436fc..f8873b6d3 100644 --- a/mesalib/src/mesa/main/es_generator.py +++ b/mesalib/src/mesa/main/es_generator.py @@ -680,9 +680,8 @@ print """ #if FEATURE_remap_table
-/* cannot include main/dispatch.h here */
-#define _GLAPI_USE_REMAP_TABLE
-#include "%sapi/main/glapidispatch.h"
+/* define esLocalRemapTable */
+#include "%sapi/main/dispatch.h"
#define need_MESA_remap_table
#include "%sapi/main/remap_helper.h"
@@ -701,7 +700,7 @@ init_remap_table(void) return;
}
- for (i = 0; i < driDispatchRemapTable_size; i++) {
+ for (i = 0; i < esLocalRemapTable_size; i++) {
GLint offset;
const char *spec;
@@ -710,7 +709,7 @@ init_remap_table(void) spec = _mesa_function_pool + remap[i].pool_index;
offset = _mesa_map_function_spec(spec);
- remap_table[i] = offset;
+ esLocalRemapTable[i] = offset;
}
initialized = GL_TRUE;
_glthread_UNLOCK_MUTEX(mutex);
@@ -718,8 +717,7 @@ init_remap_table(void) #else /* FEATURE_remap_table */
-/* cannot include main/dispatch.h here */
-#include "%sapi/main/glapidispatch.h"
+#include "%sapi/main/dispatch.h"
static INLINE void
init_remap_table(void)
|