Fix typo
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 5 Mar 2001 18:04:38 +0000 (18:04 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 5 Mar 2001 18:04:38 +0000 (18:04 +0000)
src/mesa/drivers/common/t_dd_vb.c

index 0a3f0fcfb26fc7c4090ffd581f613a45ed25fd84..9d5277ee010a66a1762840eaa5d4773e34ac7396 100644 (file)
@@ -125,7 +125,7 @@ void TAG(translate_vertex)(GLcontext *ctx,
       dst->fog = src->v.color.alpha/255.0;
 
       if (HAVE_PTEX_VERTICES && 
-         ((HAVE_TEX2_VERTICES && fbormat == PROJ_TEX3_VERTEX_FORMAT) ||
+         ((HAVE_TEX2_VERTICES && format == PROJ_TEX3_VERTEX_FORMAT) ||
           (format == PROJ_TEX1_VERTEX_FORMAT))) {
 
         dst->texcoord[0][0] = src->pv.u0;