diff options
author | Brian Paul <[email protected]> | 2001-06-13 14:56:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-06-13 14:56:14 +0000 |
commit | cd1cefae9146fc14b35ee93a04bdb1b1590fba7b (patch) | |
tree | 01f74b0349d478ed65822a3271ce7cdf8384a304 /src/mesa/main/config.h | |
parent | cc22179cd855dad85a28c40416873a07e8b7cc0c (diff) |
Allow different max texture sizes for 1/2D, 3D and cube maps.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index cf57106a330..805da1e7b7f 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -1,4 +1,4 @@ -/* $Id: config.h,v 1.31 2001/05/14 23:11:12 brianp Exp $ */ +/* $Id: config.h,v 1.32 2001/06/13 14:56:14 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -99,9 +99,15 @@ /* Max texture palette / color table size */ #define MAX_COLOR_TABLE_SIZE 256 -/* Number of texture levels */ +/* Number of 1D/2D texture mipmap levels */ #define MAX_TEXTURE_LEVELS 12 +/* Number of 3D texture mipmap levels */ +#define MAX_3D_TEXTURE_LEVELS 8 + +/* Number of cube texture mipmap levels */ +#define MAX_CUBE_TEXTURE_LEVELS 12 + /* Number of texture units - GL_ARB_multitexture */ #define MAX_TEXTURE_UNITS 8 |