diff options
author | Ian Romanick <[email protected]> | 2005-08-11 19:47:06 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-08-11 19:47:06 +0000 |
commit | fbcc5aedf2a06e14030a3e67d2be9fd043e3cf38 (patch) | |
tree | eae95f73d7beea4d30df2c00f793c44e0524dede /src/mesa/drivers | |
parent | 4c4e4bfa4e520a06d5421018247fe9be42124c1c (diff) |
Remove support for the R200_NO_VTXFMT environment variable. Instead use
'tcl_mode=1'. This fixes bugzilla #3972.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index fc5cf5a33f3..77d36e35172 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -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; |