mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
r300g: Don't use getenv; use debug_get_*_option instead.
This commit is contained in:
parent
5a0598f235
commit
babadb8bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue