Remove support for the R200_NO_VTXFMT environment variable. Instead use
authorIan Romanick <idr@us.ibm.com>
Thu, 11 Aug 2005 19:47:06 +0000 (19:47 +0000)
committerIan Romanick <idr@us.ibm.com>
Thu, 11 Aug 2005 19:47:06 +0000 (19:47 +0000)
'tcl_mode=1'.  This fixes bugzilla #3972.

src/mesa/drivers/dri/r200/r200_context.c

index fc5cf5a..77d36e3 100644 (file)
@@ -524,10 +524,11 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
       }
       TCL_FALLBACK(rmesa->glCtx, R200_TCL_FALLBACK_TCL_DISABLE, 1);
    }
+
    if (rmesa->r200Screen->chipset & R200_CHIPSET_TCL) {
-      if (tcl_mode >= DRI_CONF_TCL_VTXFMT && !getenv("R200_NO_VTXFMT")) {
+      if (tcl_mode >= DRI_CONF_TCL_VTXFMT)
         r200VtxfmtInit( ctx, tcl_mode >= DRI_CONF_TCL_CODEGEN );
-      }
+
       _tnl_need_dlist_norm_lengths( ctx, GL_FALSE );
    }
    return GL_TRUE;