diff options
author | Brian Paul <[email protected]> | 2008-11-10 11:19:30 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-10 11:19:30 -0700 |
commit | 2b66417402bc595be301ab9ed7b9ea2a5f79e180 (patch) | |
tree | 32ec9363dc065d41a1efc72e57ebb44cf333f598 /src/gallium/auxiliary/util | |
parent | 399da3a337932c6074a69ac73e711138271308eb (diff) | |
parent | eb4dded5be60af4c7d45394aaa0aca24549ec3d8 (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:
src/gallium/auxiliary/util/u_math.c
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/p_debug.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_math.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c index a1a51d7ef2a..0d019808b09 100644 --- a/src/gallium/auxiliary/util/p_debug.c +++ b/src/gallium/auxiliary/util/p_debug.c @@ -136,8 +136,10 @@ void _debug_vprintf(const char *format, va_list ap) #elif defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT) /* TODO */ #else /* !PIPE_SUBSYSTEM_WINDOWS */ +#ifdef DEBUG vfprintf(stderr, format, ap); #endif +#endif } diff --git a/src/gallium/auxiliary/util/u_math.c b/src/gallium/auxiliary/util/u_math.c index 5b3cab4642a..9c5f616ceb3 100644 --- a/src/gallium/auxiliary/util/u_math.c +++ b/src/gallium/auxiliary/util/u_math.c @@ -30,7 +30,7 @@ #include "util/u_math.h" -/** 2^x, for x in [-1.0, 1.0[ */ +/** 2^x, for x in [-1.0, 1.0] */ float pow2_table[POW2_TABLE_SIZE]; @@ -43,7 +43,7 @@ init_pow2_table(void) } -/** log2(x), for x in [1.0, 2.0[ */ +/** log2(x), for x in [1.0, 2.0] */ float log2_table[LOG2_TABLE_SIZE]; |