summaryrefslogtreecommitdiff
path: root/src/mesa/main/pixel.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-09-09 16:10:22 -0700
committerEric Anholt <eric@anholt.net>2010-09-23 13:25:45 -0700
commit7126e38d9037da66fd531c4cb02b3843b68b84ff (patch)
tree7177e6f1ce2c3f2a1ec4b67b0a8be9fbe8d6a7bb /src/mesa/main/pixel.c
parent907a6734fcd427a6ac6fe5fcfbeac5d6054d82ae (diff)
mesa: Remove EXT_histogram.
This has always been optional, and not useful.
Diffstat (limited to 'src/mesa/main/pixel.c')
-rw-r--r--src/mesa/main/pixel.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c
index 675e933ca6..980c40550c 100644
--- a/src/mesa/main/pixel.c
+++ b/src/mesa/main/pixel.c
@@ -738,12 +738,6 @@ update_image_transfer_state(GLcontext *ctx)
if (ctx->Pixel.ColorTableEnabled[COLORTABLE_POSTCOLORMATRIX])
mask |= IMAGE_POST_COLOR_MATRIX_COLOR_TABLE_BIT;
- if (ctx->Pixel.HistogramEnabled)
- mask |= IMAGE_HISTOGRAM_BIT;
-
- if (ctx->Pixel.MinMaxEnabled)
- mask |= IMAGE_MIN_MAX_BIT;
-
ctx->_ImageTransferState = mask;
}
@@ -829,8 +823,6 @@ _mesa_init_pixel( GLcontext *ctx )
init_pixelmap(&ctx->PixelMaps.GtoG);
init_pixelmap(&ctx->PixelMaps.BtoB);
init_pixelmap(&ctx->PixelMaps.AtoA);
- ctx->Pixel.HistogramEnabled = GL_FALSE;
- ctx->Pixel.MinMaxEnabled = GL_FALSE;
ASSIGN_4V(ctx->Pixel.PostColorMatrixScale, 1.0, 1.0, 1.0, 1.0);
ASSIGN_4V(ctx->Pixel.PostColorMatrixBias, 0.0, 0.0, 0.0, 0.0);
for (i = 0; i < COLORTABLE_MAX; i++) {