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 0a3f0fc..9d5277e 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;