Parcourir la source

remove unneeded fragment program test

tags/vtx-0-2-21112003-freeze
Brian Paul il y a 22 ans
Parent
révision
a83b4b1f2c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/mesa/swrast/s_triangle.c

+ 1
- 1
src/mesa/swrast/s_triangle.c Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer