summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-04-14 23:23:19 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-04-14 23:23:19 +0000
commit643020dd82e05d0e4b06824b2d1b6aa9852a4a17 (patch)
treeaf473f725b06a15f903ca4d484a587352a085ee3
parent06535d239bc593ae18c73619f163a1702e8a8999 (diff)
wrap file in #ifdef USE_TCC, otherwise compilation failes
-rw-r--r--src/mesa/swrast/s_fragprog_to_c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_fragprog_to_c.c b/src/mesa/swrast/s_fragprog_to_c.c
index 647510a4c9..d1d9a0bef3 100644
--- a/src/mesa/swrast/s_fragprog_to_c.c
+++ b/src/mesa/swrast/s_fragprog_to_c.c
@@ -39,6 +39,8 @@
#include "s_texture.h"
+#ifdef USE_TCC
+
/* UREG - a way of representing an FP source register including
* swizzling and negation in a single GLuint. Major flaw is the
* limitiation to source->Index < 32. Secondary flaw is the fact that
@@ -816,3 +818,4 @@ void _swrast_translate_program( GLcontext *ctx )
}
}
+#endif /*USE_TCC*/