summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-24 15:23:22 -0700
committerBrian Paul <brianp@vmware.com>2015-02-24 17:10:28 -0700
commitab68219a59c128e018ba68a287228c24890b8f4f (patch)
tree0355694a27c71aff74babc72dd83ebeeef40d0a9 /src/mesa/swrast
parentf847ddb64dfe7d0e84354b30b7551d83fe3463c9 (diff)
downloadexternal_mesa3d-ab68219a59c128e018ba68a287228c24890b8f4f.zip
external_mesa3d-ab68219a59c128e018ba68a287228c24890b8f4f.tar.gz
external_mesa3d-ab68219a59c128e018ba68a287228c24890b8f4f.tar.bz2
mesa: remove MAX_GLUSHORT, move MAX_GLUINT
The later is only used in one place in swrast. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_tritemp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index f0281e4..fb73b2d 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -91,6 +91,11 @@
*/
+#ifndef MAX_GLUINT
+#define MAX_GLUINT 0xffffffff
+#endif
+
+
/*
* Some code we unfortunately need to prevent negative interpolated colors.
*/