aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-02 16:10:40 +0100
committerJosé Fonseca <[email protected]>2010-05-02 16:10:40 +0100
commit559d124ed3f2070c73c5cb9c3b506ddd9cfaeb02 (patch)
tree505da758c1394028cad2889f453a5a58b3b4ed81 /src/mesa/main/api_exec.c
parent316b6fa50936470ee4f3c14d982ec216ec352ea1 (diff)
mesa: #ifdef out more remap_table related code when disabled.
Seems to get everything building again here.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 7b6ac63fac4..f838561aef3 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -107,6 +107,8 @@
#endif
#include "main/dispatch.h"
+#ifdef _GLAPI_USE_REMAP_TABLE
+
#define need_MESA_remap_table
#include "main/remap.h"
#include "main/remap_helper.h"
@@ -142,6 +144,8 @@ _mesa_init_remap_table(void)
MESA_remap_table_functions);
}
+#endif /* _GLAPI_USE_REMAP_TABLE */
+
/**
* Initialize a dispatch table with pointers to Mesa's immediate-mode