summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 15:05:20 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 15:05:20 +0000
commita83b4b1f2ce4fbff173a1ba5d0da9231b6ae3be2 (patch)
treebe05db04c631135ea74712eab5ab552375f0e2cb
parent464bc3b6747108dd32e4a9fcfe6549a9d4a52a95 (diff)
remove unneeded fragment program test
-rw-r--r--src/mesa/swrast/s_triangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c
index 3c2143110c..43c131a6e7 100644
--- a/src/mesa/swrast/s_triangle.c
+++ b/src/mesa/swrast/s_triangle.c
@@ -1051,7 +1051,7 @@ _swrast_choose_triangle( GLcontext *ctx )
}
}
- if (ctx->Texture._EnabledCoordUnits || ctx->FragmentProgram.Enabled) {
+ if (ctx->Texture._EnabledCoordUnits) {
/* Ugh, we do a _lot_ of tests to pick the best textured tri func */
const struct gl_texture_object *texObj2D;
const struct gl_texture_image *texImg;