From a83b4b1f2ce4fbff173a1ba5d0da9231b6ae3be2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Apr 2003 15:05:20 +0000 Subject: [PATCH] remove unneeded fragment program test --- src/mesa/swrast/s_triangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 3c2143110c8..43c131a6e75 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; -- 2.30.2