From cd1cefae9146fc14b35ee93a04bdb1b1590fba7b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 13 Jun 2001 14:56:14 +0000 Subject: Allow different max texture sizes for 1/2D, 3D and cube maps. --- src/mesa/main/config.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/config.h') diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index cf57106a33..805da1e7b7 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 -- cgit v1.2.3