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)).
This commit is contained in:
@@ -486,7 +486,7 @@ st_readpixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
df += dfStride;
|
||||
if (!dfStride) {
|
||||
_mesa_pack_rgba_span_float(ctx, width, temp, format, type, dst,
|
||||
&clippedPacking, transferOps, GL_FALSE);
|
||||
&clippedPacking, transferOps);
|
||||
dst += dstStride;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user