summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxg.h
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-03-29 06:51:41 +0000
committerDaniel Borca <[email protected]>2004-03-29 06:51:41 +0000
commit71c7c1feb6ed3453d1f3238ffefa8f7827ad2c8a (patch)
tree3de79ba26827900ff775689913e6e0bc8a035745 /src/mesa/drivers/glide/fxg.h
parent238693544cc77c53395b8cdade0c5df3b844aaa7 (diff)
code cleanup heheh
Diffstat (limited to 'src/mesa/drivers/glide/fxg.h')
-rw-r--r--src/mesa/drivers/glide/fxg.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mesa/drivers/glide/fxg.h b/src/mesa/drivers/glide/fxg.h
index 57a891b6a99..f2822967158 100644
--- a/src/mesa/drivers/glide/fxg.h
+++ b/src/mesa/drivers/glide/fxg.h
@@ -37,9 +37,11 @@
#include <glide.h>
#include <g3ext.h>
-#define DEBUG_TRAP 0
+#ifndef FX_TRAP_GLIDE
+#define FX_TRAP_GLIDE 0
+#endif
-#if DEBUG_TRAP
+#if FX_TRAP_GLIDE
/*
** rendering functions
*/
@@ -171,7 +173,7 @@ void FX_CALL trap_guFogGenerateExp (GrFog_t *fogtable, float density);
void FX_CALL trap_guFogGenerateExp2 (GrFog_t *fogtable, float density);
void FX_CALL trap_guFogGenerateLinear (GrFog_t *fogtable, float nearZ, float farZ);
-#ifndef DEBUG_TRAP_internal
+#ifndef FX_TRAP_GLIDE_internal
/*
** rendering functions
*/
@@ -302,8 +304,8 @@ void FX_CALL trap_guFogGenerateLinear (GrFog_t *fogtable, float nearZ, float far
#define guFogGenerateExp trap_guFogGenerateExp
#define guFogGenerateExp2 trap_guFogGenerateExp2
#define guFogGenerateLinear trap_guFogGenerateLinear
-#endif /* DEBUG_TRAP_internal */
-#endif /* DEBUG_TRAP */
+#endif /* FX_TRAP_GLIDE_internal */
+#endif /* FX_TRAP_GLIDE */