summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_nvfragprog.c
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-05-20 01:17:38 +0000
committerJon Smirl <[email protected]>2005-05-20 01:17:38 +0000
commitbab559b1fa2db0127bd7ff4f89d34f8df52c6dab (patch)
tree1b001c831c1186d01495e3295a4c5bb498cb9354 /src/mesa/swrast/s_nvfragprog.c
parent8f8e0f0b01c3662f0ebddebf97aa57fddc5397bf (diff)
Remove some debug output
Add #if DEBUG_FRAG in s_nvfragprog.c
Diffstat (limited to 'src/mesa/swrast/s_nvfragprog.c')
-rw-r--r--src/mesa/swrast/s_nvfragprog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c
index 88fe9899d8d..8a2c4464ac0 100644
--- a/src/mesa/swrast/s_nvfragprog.c
+++ b/src/mesa/swrast/s_nvfragprog.c
@@ -1192,8 +1192,10 @@ execute_program( GLcontext *ctx,
fetch_texel( ctx, texcoord,
span->array->lambda[inst->TexSrcUnit][column],
inst->TexSrcUnit, color );
+#if DEBUG_FRAG
if (color[3])
printf("color[3] = %f\n", color[3]);
+#endif
store_vector4( inst, machine, color );
}
break;