summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-11 15:07:48 +0000
committerBrian Paul <[email protected]>2000-04-11 15:07:48 +0000
commit4fe34b27f641459acae8150cde927eb4952277ad (patch)
tree083fbfbb285fe7d22920e6a749d1ee143b223a7d /src/mesa/main/context.c
parentff3e00320e3d9a9a047dd8516ae92cadaa1e21fc (diff)
initial work on GL_SGI_color_table extension
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index a6e52a896f6..2822f080c1a 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.57 2000/04/10 15:52:25 brianp Exp $ */
+/* $Id: context.c,v 1.58 2000/04/11 15:07:48 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1135,6 +1135,17 @@ static void init_attrib_groups( GLcontext *ctx )
ctx->Pixel.PostColorMatrixBlueScale = 1.0;
ctx->Pixel.PostColorMatrixAlphaBias = 0.0;
ctx->Pixel.PostColorMatrixAlphaScale = 1.0;
+ ctx->Pixel.ColorTableScale[0] = 1.0F;
+ ctx->Pixel.ColorTableScale[1] = 1.0F;
+ ctx->Pixel.ColorTableScale[2] = 1.0F;
+ ctx->Pixel.ColorTableScale[3] = 1.0F;
+ ctx->Pixel.ColorTableBias[0] = 0.0F;
+ ctx->Pixel.ColorTableBias[1] = 0.0F;
+ ctx->Pixel.ColorTableBias[2] = 0.0F;
+ ctx->Pixel.ColorTableBias[3] = 0.0F;
+ ctx->Pixel.ColorTableEnabled = GL_FALSE;
+ ctx->Pixel.PostConvolutionColorTableEnabled = GL_FALSE;
+ ctx->Pixel.PostColorMatrixColorTableEnabled = GL_FALSE;
/* Point group */
ctx->Point.SmoothFlag = GL_FALSE;