summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/swrast.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-02-20 11:07:00 -0700
committerBrian Paul <brianp@vmware.com>2012-02-24 08:03:08 -0700
commit47d88ef204b42a9220c6be3e98c92df9c9aa0860 (patch)
treedb21898e4a2d49e47f05593547babf4776c233c6 /src/mesa/swrast/swrast.h
parentb5d096ac1ac075380d597133a484446afaa3571b (diff)
swrast: define, use SWRAST_MAX_WIDTH/HEIGHT
We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
Diffstat (limited to 'src/mesa/swrast/swrast.h')
-rw-r--r--src/mesa/swrast/swrast.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h
index ad19eeeccd8..15b07ed0d55 100644
--- a/src/mesa/swrast/swrast.h
+++ b/src/mesa/swrast/swrast.h
@@ -35,6 +35,14 @@
#include "main/mtypes.h"
#include "swrast/s_chan.h"
+
+/**
+ * Max image/surface/texture size.
+ */
+#define SWRAST_MAX_WIDTH 16384
+#define SWRAST_MAX_HEIGHT 16384
+
+
/**
* \struct SWvertex
* \brief Data-structure to handle vertices in the software rasterizer.