From: Matt Turner Date: Mon, 30 Jan 2012 18:58:10 +0000 (-0500) Subject: Rename R300_NO_TCL envvar to RADEON_NO_TCL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef3cec5804dfecd60d5d34545d73f9f2dc8b0a22;p=mesa.git Rename R300_NO_TCL envvar to RADEON_NO_TCL The envvar works for R100 and R200 too, and the classic R300 driver doesn't even exist anymore. "RADEON_NO_TCL" is already mentioned in the code and is the same envvar used for the R300g driver. --- diff --git a/docs/envvars.html b/docs/envvars.html index 5a988847b52..a64e2ee62db 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -100,10 +100,10 @@ See the Xlib software driver page for details. -

Radeon R300 driver environment variables (non-Gallium)

+

Radeon driver environment variables (radeon, r200, and r300g)

diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index bfbf45a73fb..1f60f2ae43f 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -514,7 +514,7 @@ radeonCreateScreen2(__DRIscreen *sPriv) if (ret == -1) return NULL; - if (getenv("R300_NO_TCL")) + if (getenv("RADEON_NO_TCL")) screen->chip_flags &= ~RADEON_CHIPSET_TCL; i = 0;