From e75d2424e53d6023f4414e40694cd467e5392b96 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 17 Feb 2001 18:41:01 +0000 Subject: Changed FetchTexel() function pointer arguments. Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong. --- src/mesa/main/context.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index c044a6adde..49b4a01b8a 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.120 2001/02/06 21:42:48 brianp Exp $ */ +/* $Id: context.c,v 1.121 2001/02/17 18:41:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -916,11 +916,11 @@ init_attrib_groups( GLcontext *ctx ) ctx->Histogram.Width = 0; ctx->Histogram.Format = GL_RGBA; ctx->Histogram.Sink = GL_FALSE; - ctx->Histogram.RedSize = 0xffffffff; - ctx->Histogram.GreenSize = 0xffffffff; - ctx->Histogram.BlueSize = 0xffffffff; - ctx->Histogram.AlphaSize = 0xffffffff; - ctx->Histogram.LuminanceSize = 0xffffffff; + ctx->Histogram.RedSize = 0; + ctx->Histogram.GreenSize = 0; + ctx->Histogram.BlueSize = 0; + ctx->Histogram.AlphaSize = 0; + ctx->Histogram.LuminanceSize = 0; for (i = 0; i < HISTOGRAM_TABLE_SIZE; i++) { ctx->Histogram.Count[i][0] = 0; ctx->Histogram.Count[i][1] = 0; -- cgit v1.2.3