summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-08-27 13:29:00 +0100
committerKeith Whitwell <keithw@vmware.com>2010-08-27 13:34:12 +0100
commit04f8560dd826b62e96da5deed43910f767953707 (patch)
tree6eef46b9f5cf0a3404f4b7f946a21c0feec78c79 /src/gallium/auxiliary
parentaea6b415deffd7613d67dc85876afab151b7460e (diff)
util: fix typo in MAX4
Thanks to Michal for spotting it.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index 6ba4e24f4c..af510dac51 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -567,7 +567,7 @@ util_bswap16(uint16_t n)
#define MAX3( A, B, C ) MAX2( MAX2( A, B ), C )
#define MIN4( A, B, C, D ) MIN2( MIN2( A, B ), MIN2(C, D) )
-#define MAX4( A, B, C, D ) MAX2( MAX2( A, B ), MIN2(C, D) )
+#define MAX4( A, B, C, D ) MAX2( MAX2( A, B ), MAX2(C, D) )
/**