summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/envvars.html4
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index 5a988847b5..a64e2ee62d 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -100,10 +100,10 @@ See the <A HREF="xlibdriver.html">Xlib software driver page</A> for details.
</ul>
-<h2>Radeon R300 driver environment variables (non-Gallium)</h2>
+<h2>Radeon driver environment variables (radeon, r200, and r300g)</h2>
<ul>
-<li>R300_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
+<li>RADEON_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
</ul>
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index bfbf45a73f..1f60f2ae43 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;