remove unneeded fragment program test
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Apr 2003 15:05:20 +0000 (15:05 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 21 Apr 2003 15:05:20 +0000 (15:05 +0000)
src/mesa/swrast/s_triangle.c

index 3c2143110c84212c1aba4b7f403061edfd660cb3..43c131a6e7562616983af176d7567f62ed2c0a2f 100644 (file)
@@ -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;