From 9f9bed9c8ea8a1baa922320debbf04128b2b58de Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Jul 2003 17:13:48 +0000 Subject: fix GL_SGI_texture_colortable bugs --- src/mesa/main/pixel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c index ce4be7eadc..31ab8d7a72 100644 --- a/src/mesa/main/pixel.c +++ b/src/mesa/main/pixel.c @@ -1489,6 +1489,9 @@ void _mesa_init_pixel( GLcontext * ctx ) } ASSIGN_4V(ctx->Pixel.PostConvolutionScale, 1.0, 1.0, 1.0, 1.0); ASSIGN_4V(ctx->Pixel.PostConvolutionBias, 0.0, 0.0, 0.0, 0.0); + /* GL_SGI_texture_color_table */ + ASSIGN_4V(ctx->Pixel.TextureColorTableScale, 1.0, 1.0, 1.0, 1.0); + ASSIGN_4V(ctx->Pixel.TextureColorTableBias, 0.0, 0.0, 0.0, 0.0); /* Pixel transfer */ ctx->Pack.Alignment = 4; -- cgit v1.2.3