diff options
author | Brian Paul <[email protected]> | 2009-04-03 17:28:35 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-03 17:28:35 -0600 |
commit | c7eb423c49ef3e0e071deaab04dad55254f2fa30 (patch) | |
tree | 773ce651643a7281561a66ecdda1e407ec4cd4f1 /src/mesa/main/histogram.c | |
parent | 35d88e1ac2cd34d5cc62f521654d79f5b24fcdf8 (diff) |
mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()
It was only set to GL_TRUE in one place where it isn't really needed
(glGetTexImage(sRGB format)).
Diffstat (limited to 'src/mesa/main/histogram.c')
-rw-r--r-- | src/mesa/main/histogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c index febf8d99c45..905c1ad8301 100644 --- a/src/mesa/main/histogram.c +++ b/src/mesa/main/histogram.c @@ -684,7 +684,7 @@ _mesa_GetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvo minmax[1][BCOMP] = CLAMP(ctx->MinMax.Max[BCOMP], 0.0F, 1.0F); minmax[1][ACOMP] = CLAMP(ctx->MinMax.Max[ACOMP], 0.0F, 1.0F); _mesa_pack_rgba_span_float(ctx, 2, minmax, - format, type, values, &ctx->Pack, 0x0, GL_FALSE); + format, type, values, &ctx->Pack, 0x0); } if (ctx->Pack.BufferObj->Name) { |