summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-10 08:32:52 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-10 08:33:21 +0900
commita70684bf256c3d5bc3a729bf9e9cf1a64cb2064a (patch)
tree86d98344e787689ed4a2b2f6f9b4cd544e2ccf24 /src/gallium/include
parent5f46bf77af5f49e63976ad51c5b4a7da8490be3e (diff)
gallium: Deprecate GETENV. Replace by debug_get_bool_option.
debug_get_bool_option will interpret "n", "no", "0", "f", or "false" as FALSE; and everything else as TRUE. The default value (used when the variable is not set) is received as a parameter.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h
index 5547e57833..8b3003bcef 100644
--- a/src/gallium/include/pipe/p_util.h
+++ b/src/gallium/include/pipe/p_util.h
@@ -140,8 +140,6 @@ REALLOC( void *old_ptr, unsigned old_size, unsigned new_size )
#define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T))
-#define GETENV( X ) debug_get_option( X, NULL )
-
/**
* Return memory on given byte alignment