From d0582776a619cc0633a0cbeea010a0db5e3e210f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 28 Feb 2004 20:12:33 +0000 Subject: move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan() --- src/mesa/swrast/s_copypix.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mesa/swrast/s_copypix.c') diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index 0692adfbff9..51c2f9a6e0f 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -184,7 +184,7 @@ copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* GL_COLOR_TABLE lookup */ if (transferOps & IMAGE_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->ColorTable, width, rgba); + _mesa_lookup_rgba_float(&ctx->ColorTable, width, rgba); } } @@ -204,7 +204,7 @@ copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, /* GL_POST_CONVOLUTION_COLOR_TABLE lookup */ if (transferOps & IMAGE_POST_CONVOLUTION_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->PostConvolutionColorTable, width, rgba); + _mesa_lookup_rgba_float(&ctx->PostConvolutionColorTable, width, rgba); } /* color matrix */ if (transferOps & IMAGE_COLOR_MATRIX_BIT) { @@ -212,7 +212,7 @@ copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* GL_POST_COLOR_MATRIX_COLOR_TABLE lookup */ if (transferOps & IMAGE_POST_COLOR_MATRIX_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->PostColorMatrixColorTable, width, rgba); + _mesa_lookup_rgba_float(&ctx->PostColorMatrixColorTable, width, rgba); } /* update histogram count */ if (transferOps & IMAGE_HISTOGRAM_BIT) { @@ -412,7 +412,7 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* GL_COLOR_TABLE lookup */ if (transferOps & IMAGE_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->ColorTable, width, rgbaFloat); + _mesa_lookup_rgba_float(&ctx->ColorTable, width, rgbaFloat); } /* convolution */ if (transferOps & IMAGE_CONVOLUTION_BIT) { @@ -433,7 +433,7 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* GL_POST_CONVOLUTION_COLOR_TABLE lookup */ if (transferOps & IMAGE_POST_CONVOLUTION_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->PostConvolutionColorTable, width, rgbaFloat); + _mesa_lookup_rgba_float(&ctx->PostConvolutionColorTable, width, rgbaFloat); } /* color matrix */ if (transferOps & IMAGE_COLOR_MATRIX_BIT) { @@ -441,7 +441,7 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, } /* GL_POST_COLOR_MATRIX_COLOR_TABLE lookup */ if (transferOps & IMAGE_POST_COLOR_MATRIX_COLOR_TABLE_BIT) { - _mesa_lookup_rgba(&ctx->PostColorMatrixColorTable, width, rgbaFloat); + _mesa_lookup_rgba_float(&ctx->PostColorMatrixColorTable, width, rgbaFloat); } /* update histogram count */ if (transferOps & IMAGE_HISTOGRAM_BIT) { -- cgit v1.2.3