From 6c50e16b3dfde581e23791f97697470e8f45d23d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 30 Jun 2000 22:11:04 +0000 Subject: initialize some color table scale/bias factors --- src/mesa/main/context.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/context.c') 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; -- cgit v1.2.3