summaryrefslogtreecommitdiff
path: root/src/mesa/main/pixel.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-07-23 17:13:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-07-23 17:13:48 +0000
commit9f9bed9c8ea8a1baa922320debbf04128b2b58de (patch)
treec0600de102d663cfc781965e8e36777d69f7ca22 /src/mesa/main/pixel.c
parentd19b5db5dce92efd55359607006a32076dc95d12 (diff)
fix GL_SGI_texture_colortable bugs
Diffstat (limited to 'src/mesa/main/pixel.c')
-rw-r--r--src/mesa/main/pixel.c3
1 files changed, 3 insertions, 0 deletions
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;