aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-07 16:27:26 +0000
committerBrian Paul <[email protected]>2000-04-07 16:27:26 +0000
commit2b2e925ea4a5652b0ab73b1efbce345a42663842 (patch)
tree9824128cf7662c51830bd3b5a0b74721a071a881 /src/mesa/main/context.c
parentede4887b1650b18b3a2db3f175fcc33826bbab4d (diff)
added GL_SGIX/SGIS_pixel_texture extension
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index db3a14ba984..8c2be5d497e 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.54 2000/04/07 00:19:41 brianp Exp $ */
+/* $Id: context.c,v 1.55 2000/04/07 16:27:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1115,6 +1115,11 @@ static void init_attrib_groups( GLcontext *ctx )
ctx->Pixel.MapGtoG[0] = 0.0;
ctx->Pixel.MapBtoB[0] = 0.0;
ctx->Pixel.MapAtoA[0] = 0.0;
+ ctx->Pixel.HistogramEnabled = GL_FALSE;
+ ctx->Pixel.MinMaxEnabled = GL_FALSE;
+ ctx->Pixel.PixelTextureEnabled = GL_FALSE;
+ ctx->Pixel.FragmentRgbSource = GL_PIXEL_GROUP_COLOR_SGIS;
+ ctx->Pixel.FragmentAlphaSource = GL_PIXEL_GROUP_COLOR_SGIS;
/* Point group */
ctx->Point.SmoothFlag = GL_FALSE;