diff options
author | Corbin Simpson <[email protected]> | 2009-10-21 05:54:49 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-10-21 06:52:24 -0700 |
commit | babadb8bb9d68f3687a9c9cb80f98c732b1120c7 (patch) | |
tree | a52792601b7dadeba7dc380c4d77a174419a62f5 /src/gallium/drivers/r300 | |
parent | 5a0598f23569314a4ad72eda59e250ab9c43b46d (diff) |
r300g: Don't use getenv; use debug_get_*_option instead.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_chipset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300/r300_chipset.c index d138866d33c..9b763e2cb52 100644 --- a/src/gallium/drivers/r300/r300_chipset.c +++ b/src/gallium/drivers/r300/r300_chipset.c @@ -31,7 +31,7 @@ void r300_parse_chipset(struct r300_capabilities* caps) { /* Reasonable defaults */ caps->num_vert_fpus = 4; - caps->has_tcl = getenv("RADEON_NO_TCL") ? FALSE : TRUE; + caps->has_tcl = debug_get_bool_option("RADEON_NO_TCL", FALSE) ? FALSE : TRUE; caps->is_r500 = FALSE; caps->high_second_pipe = FALSE; |