summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-10-13 16:34:25 +0000
committerBrian Paul <[email protected]>2006-10-13 16:34:25 +0000
commit176501dfff14b5bec78af2b3487207d42c26d37a (patch)
treeb114ed316d67c6da4c460b130edc0643b90e8000 /src/mesa/main/image.h
parent8a9b5518fb946462fe55a62c1da1cab94d6d12cc (diff)
In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of
incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index d9d5830ac6a..5d50f5df156 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -116,8 +116,7 @@ _mesa_apply_rgba_transfer_ops(GLcontext *ctx, GLbitfield transferOps,
GLuint n, GLfloat rgba[][4]);
extern void
-_mesa_pack_rgba_span_float( GLcontext *ctx,
- GLuint n, CONST GLfloat rgba[][4],
+_mesa_pack_rgba_span_float( GLcontext *ctx, GLuint n, GLfloat rgba[][4],
GLenum dstFormat, GLenum dstType, GLvoid *dstAddr,
const struct gl_pixelstore_attrib *dstPacking,
GLbitfield transferOps );