diff options
author | Brian Paul <[email protected]> | 2000-05-22 16:33:20 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-05-22 16:33:20 +0000 |
commit | 86fc370d399167ec9bb978d053d4a72215c86c16 (patch) | |
tree | 41269faf262faf74f878896f562513ef580db98c /src/mesa/main/context.c | |
parent | 87a7897d38fe1fa4458901d15475e3306270b51e (diff) |
initial code for GL_ARB_texture_cube_map
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 2954b455c9f..e106b0343ed 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.65 2000/05/18 18:12:36 brianp Exp $ */ +/* $Id: context.c,v 1.66 2000/05/22 16:33:20 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -704,6 +704,7 @@ init_attrib_groups( GLcontext *ctx ) /* Constants, may be overriden by device drivers */ ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS; ctx->Const.MaxTextureSize = 1 << (MAX_TEXTURE_LEVELS - 1); + ctx->Const.MaxCubeTextureSize = ctx->Const.MaxTextureSize; ctx->Const.MaxTextureUnits = MAX_TEXTURE_UNITS; ctx->Const.MaxArrayLockSize = MAX_ARRAY_LOCK_SIZE; ctx->Const.SubPixelBits = SUB_PIXEL_BITS; |