fix GL_SGI_texture_colortable bugs

This commit is contained in:
Brian Paul
2003-07-23 17:13:48 +00:00
parent d19b5db5dc
commit 9f9bed9c8e
2 changed files with 9 additions and 6 deletions

View File

@@ -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;