summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-08-29 14:25:30 +0000
committerBrian Paul <[email protected]>2000-08-29 14:25:30 +0000
commitef9025a641624991113b7df2eecdf7c8e330a31c (patch)
treebc6ba968bd0d3206f327854258c2ed36aeb96470 /src/mesa/main
parent5d3a95714c7a5ba6c04c832972c4ad83e53c7e26 (diff)
updated some comments
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/image.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 49ea1d5bf57..4f8faf8366e 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.36 2000/08/21 14:22:24 brianp Exp $ */
+/* $Id: image.c,v 1.37 2000/08/29 14:25:30 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -669,7 +669,7 @@ _mesa_pack_rgba_span( GLcontext *ctx,
}
/* convolution */
if (transferOps & IMAGE_CONVOLUTION_BIT) {
- /* XXX to do */
+ /* this has to be done in the calling code */
}
/* GL_POST_CONVOLUTION_COLOR_TABLE lookup */
if (transferOps & IMAGE_POST_CONVOLUTION_COLOR_TABLE_BIT) {
@@ -695,6 +695,9 @@ _mesa_pack_rgba_span( GLcontext *ctx,
}
}
+ /* XXX clamp rgba to [0,1]? */
+
+
if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA) {
for (i = 0; i < n; i++) {
GLfloat sum = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP];
@@ -2304,7 +2307,7 @@ _mesa_unpack_ubyte_color_span( GLcontext *ctx,
}
/* convolution */
if (transferOps & IMAGE_CONVOLUTION_BIT) {
- /* XXX to do */
+ /* this has to be done in the calling code */
}
/* GL_POST_CONVOLUTION_COLOR_TABLE lookup */
if (transferOps & IMAGE_POST_CONVOLUTION_COLOR_TABLE_BIT) {