mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 21:30:26 +01:00
u_trace: use os_get_option instead of getenv
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Tim Van Patten <timvp@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37740>
This commit is contained in:
parent
05cd676287
commit
3df4d86409
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ ${trace_toggle_name}_variable_once(void)
|
|||
;
|
||||
|
||||
${trace_toggle_name} =
|
||||
parse_enable_string(getenv("${trace_toggle_name.upper()}"),
|
||||
parse_enable_string(os_get_option("${trace_toggle_name.upper()}"),
|
||||
default_value,
|
||||
config_control);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue