Browse Source

remove unneeded fragment program test

tags/vtx-0-2-21112003-freeze
Brian Paul 22 years ago
parent
commit
a83b4b1f2c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/swrast/s_triangle.c

+ 1
- 1
src/mesa/swrast/s_triangle.c View 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;

Loading…
Cancel
Save