-/* $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
}
/* 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) {
}
}
+ /* 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];
}
/* 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) {