summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/convolve.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-03 17:28:35 -0600
committerBrian Paul <[email protected]>2009-04-03 17:28:35 -0600
commitc7eb423c49ef3e0e071deaab04dad55254f2fa30 (patch)
tree773ce651643a7281561a66ecdda1e407ec4cd4f1 /src/mesa/main/convolve.c
parent35d88e1ac2cd34d5cc62f521654d79f5b24fcdf8 (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/convolve.c')
-rw-r--r--src/mesa/main/convolve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/convolve.c b/src/mesa/main/convolve.c
index 63b652bf705..814c6a0a5a6 100644
--- a/src/mesa/main/convolve.c
+++ b/src/mesa/main/convolve.c
@@ -626,7 +626,7 @@ _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
row, 0);
GLfloat (*src)[4] = (GLfloat (*)[4]) (filter->Filter + row * filter->Width * 4);
_mesa_pack_rgba_span_float(ctx, filter->Width, src,
- format, type, dst, &ctx->Pack, 0x0, GL_FALSE);
+ format, type, dst, &ctx->Pack, 0x0);
}
if (ctx->Pack.BufferObj->Name) {
@@ -836,7 +836,7 @@ _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
format, type, 0);
_mesa_pack_rgba_span_float(ctx, filter->Width,
(GLfloat (*)[4]) filter->Filter,
- format, type, dst, &ctx->Pack, 0x0, GL_FALSE);
+ format, type, dst, &ctx->Pack, 0x0);
}
/* Column filter */
@@ -845,7 +845,7 @@ _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
format, type, 0);
GLfloat (*src)[4] = (GLfloat (*)[4]) (filter->Filter + colStart);
_mesa_pack_rgba_span_float(ctx, filter->Height, src,
- format, type, dst, &ctx->Pack, 0x0, GL_FALSE);
+ format, type, dst, &ctx->Pack, 0x0);
}
(void) span; /* unused at this time */