summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/remap.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/remap.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/remap.c')
-rw-r--r--src/mesa/main/remap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/remap.c b/src/mesa/main/remap.c
index 38ddc0c1dd7..2b0d054bf29 100644
--- a/src/mesa/main/remap.c
+++ b/src/mesa/main/remap.c
@@ -36,13 +36,12 @@
* a dynamic entry, or the corresponding static entry, in glapi.
*/
+#if FEATURE_remap_table
+
#include "remap.h"
#include "imports.h"
#include "glapi/glapi.h"
-#if FEATURE_remap_table
-
-
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
#define MAX_ENTRY_POINTS 16