summaryrefslogtreecommitdiff
path: root/src/mesa/main/colortab.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-02-28 20:35:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-02-28 20:35:57 +0000
commit8cfd08b6134e2036ddceb1facfa82e15026068a2 (patch)
tree76037f839147f64c9e4f676b25b4ef24ea2b6822 /src/mesa/main/colortab.c
parentd0582776a619cc0633a0cbeea010a0db5e3e210f (diff)
rename some span pack/unpack functions for better uniformity
Diffstat (limited to 'src/mesa/main/colortab.c')
-rw-r--r--src/mesa/main/colortab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c
index ac1d17cd6c..af7aa00512 100644
--- a/src/mesa/main/colortab.c
+++ b/src/mesa/main/colortab.c
@@ -198,7 +198,7 @@ store_colortable_entries(GLcontext *ctx, struct gl_color_table *table,
GLfloat *tableF;
GLint i;
- _mesa_unpack_float_color_span(ctx,
+ _mesa_unpack_color_span_float(ctx,
count, /* number of pixels */
table->Format, /* dest format */
tempTab, /* dest address */
@@ -261,7 +261,7 @@ store_colortable_entries(GLcontext *ctx, struct gl_color_table *table,
/* non-float (GLchan) */
const GLint comps = _mesa_components_in_format(table->Format);
GLchan *dest = (GLchan *) table->Table + start * comps;
- _mesa_unpack_chan_color_span(ctx, count, /* number of entries */
+ _mesa_unpack_color_span_chan(ctx, count, /* number of entries */
table->Format, /* dest format */
dest, /* dest address */
format, type, data, /* src data */
@@ -862,7 +862,7 @@ _mesa_GetColorTable( GLenum target, GLenum format,
return;
}
- _mesa_pack_rgba_span(ctx, table->Size, (const GLchan (*)[4]) rgba,
+ _mesa_pack_rgba_span_chan(ctx, table->Size, (const GLchan (*)[4]) rgba,
format, type, data, &ctx->Pack, GL_FALSE);
}