summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-02-03 15:33:29 +0000
committerBrian Paul <[email protected]>2000-02-03 15:33:29 +0000
commit1816ec450040a070ec74fff57c3215efb6bc485d (patch)
tree8cc1f6fad82acb9078ccf63c3fc36f20c799af29 /src/mesa/main/context.c
parentcd8e492c558c2fee3b2a837e5e68aaa2a9fd2cf8 (diff)
added Const.SubPixelBits
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 032a3ad6598..70b9882b4f5 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.40 2000/02/02 22:21:39 brianp Exp $ */
+/* $Id: context.c,v 1.41 2000/02/03 15:33:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -739,6 +739,7 @@ static void init_attrib_groups( GLcontext *ctx )
ctx->Const.MaxTextureSize = 1 << (MAX_TEXTURE_LEVELS - 1);
ctx->Const.MaxTextureUnits = MAX_TEXTURE_UNITS;
ctx->Const.MaxArrayLockSize = MAX_ARRAY_LOCK_SIZE;
+ ctx->Const.SubPixelBits = 4;
/* Modelview matrix */
gl_matrix_ctr( &ctx->ModelView );