diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-30 22:11:04 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-30 22:11:04 +0000 |
commit | 6c50e16b3dfde581e23791f97697470e8f45d23d (patch) | |
tree | fd702dbaabeeb47c32bb9a653d36d07812778d15 /src | |
parent | c29714dccb664562958cf36cdedee9c4377585d2 (diff) |
initialize some color table scale/bias factors
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/context.c | 6 |
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; |