From 4923e1926ad7b7eb7de017eda8e7db64d357e5c8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 28 Feb 2004 22:30:58 +0000 Subject: Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet). --- src/mesa/main/colortab.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/main/colortab.c') diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c index af7aa00512..862f210bb9 100644 --- a/src/mesa/main/colortab.c +++ b/src/mesa/main/colortab.c @@ -204,8 +204,7 @@ store_colortable_entries(GLcontext *ctx, struct gl_color_table *table, tempTab, /* dest address */ format, type, data, /* src data */ &ctx->Unpack, - 0, /* transfer ops */ - GL_FALSE); /* clamping */ + IMAGE_CLAMP_BIT); /* transfer ops */ tableF = (GLfloat *) table->Table; -- cgit v1.2.3