diff options
author | Brian Paul <[email protected]> | 2012-02-20 11:07:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-24 08:03:08 -0700 |
commit | 47d88ef204b42a9220c6be3e98c92df9c9aa0860 (patch) | |
tree | db21898e4a2d49e47f05593547babf4776c233c6 /src/mesa/swrast/swrast.h | |
parent | b5d096ac1ac075380d597133a484446afaa3571b (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.h | 8 |
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. |