Rename R300_NO_TCL envvar to RADEON_NO_TCL
authorMatt Turner <mattst88@gmail.com>
Mon, 30 Jan 2012 18:58:10 +0000 (13:58 -0500)
committerMatt Turner <mattst88@gmail.com>
Mon, 30 Jan 2012 19:24:03 +0000 (14:24 -0500)
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.

docs/envvars.html
src/mesa/drivers/dri/radeon/radeon_screen.c

index 5a988847b5205d11c9bc16a74fc4476c8388290c..a64e2ee62dbbf2483ff4c49015772f0029d99f1e 100644 (file)
@@ -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>
 
 
index bfbf45a73fbff609c32c548fb2cea221f88b0130..1f60f2ae43f3c70cd9d5f3bdc48a13bd6fa35eff 100644 (file)
@@ -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;