diff options
author | Brian Paul <[email protected]> | 2004-02-28 20:12:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-28 20:12:33 +0000 |
commit | d0582776a619cc0633a0cbeea010a0db5e3e210f (patch) | |
tree | 8ab6cc164d5b168715169f9d185f4095956d21f9 /src/mesa/swrast/s_copypix.c | |
parent | 456734aa0a6da47ad586f2ec021a429526e3152a (diff) |
move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r-- | src/mesa/swrast/s_copypix.c | 12 |
1 files changed, 6 insertions, 6 deletions
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) { |