summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-06-30 22:11:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-06-30 22:11:04 +0000
commit6c50e16b3dfde581e23791f97697470e8f45d23d (patch)
treefd702dbaabeeb47c32bb9a653d36d07812778d15
parentc29714dccb664562958cf36cdedee9c4377585d2 (diff)
initialize some color table scale/bias factors
-rw-r--r--src/mesa/main/context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 50ccb8ce35..ef7704c742 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.76 2000/06/29 18:55:52 brianp Exp $ */
+/* $Id: context.c,v 1.77 2000/06/30 22:11:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1073,6 +1073,10 @@ init_attrib_groups( GLcontext *ctx )
ASSIGN_4V(ctx->Pixel.PostColorMatrixBias, 0.0, 0.0, 0.0, 0.0);
ASSIGN_4V(ctx->Pixel.ColorTableScale, 1.0, 1.0, 1.0, 1.0);
ASSIGN_4V(ctx->Pixel.ColorTableBias, 0.0, 0.0, 0.0, 0.0);
+ ASSIGN_4V(ctx->Pixel.PCCTscale, 1.0, 1.0, 1.0, 1.0);
+ ASSIGN_4V(ctx->Pixel.PCCTbias, 0.0, 0.0, 0.0, 0.0);
+ ASSIGN_4V(ctx->Pixel.PCMCTscale, 1.0, 1.0, 1.0, 1.0);
+ ASSIGN_4V(ctx->Pixel.PCMCTbias, 0.0, 0.0, 0.0, 0.0);
ctx->Pixel.ColorTableEnabled = GL_FALSE;
ctx->Pixel.PostConvolutionColorTableEnabled = GL_FALSE;
ctx->Pixel.PostColorMatrixColorTableEnabled = GL_FALSE;