diff options
author | Brian Paul <[email protected]> | 2004-02-28 22:30:58 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-28 22:30:58 +0000 |
commit | 4923e1926ad7b7eb7de017eda8e7db64d357e5c8 (patch) | |
tree | 7bd9696c56a62747e9e7c7d57295ca315dba0922 /src/mesa/main/texstore.c | |
parent | 94f9d4c0dd2b62e01032c2b0dd9b8a25466690c2 (diff) |
Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the
IMAGE_CLAMP_BIT if needed.
Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation
of upcoming extensions (not fully used yet).
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r-- | src/mesa/main/texstore.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 61bbc10bf67..315cd6ca2d3 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -360,9 +360,8 @@ transfer_teximage(GLcontext *ctx, GLuint dimensions, srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); _mesa_unpack_color_span_float(ctx, srcWidth, GL_RGBA, dstf, - srcFormat, srcType, src, srcPacking, - transferOps & IMAGE_PRE_CONVOLUTION_BITS, - GL_TRUE); + srcFormat, srcType, src, srcPacking, + (transferOps & IMAGE_PRE_CONVOLUTION_BITS) | IMAGE_CLAMP_BIT); dstf += srcWidth * 4; } |