From 9499e017b7e05411a32b3e4fa94885eaec0d7277 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 30 Oct 2000 16:32:42 +0000 Subject: Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead. More minor GLchan changes. Silence some compiler warnings in cva.[ch] --- src/mesa/main/buffers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/buffers.c') diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 33e7bc0016..c50590f612 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -1,4 +1,4 @@ -/* $Id: buffers.c,v 1.16 2000/10/30 13:31:59 keithw Exp $ */ +/* $Id: buffers.c,v 1.17 2000/10/30 16:32:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -175,7 +175,7 @@ clear_color_buffer(GLcontext *ctx) ASSERT(ctx->Color.IndexMask == ~0); if (ctx->Visual.IndexBits == 8) { /* 8-bit clear */ - GLchan span[MAX_WIDTH]; + GLubyte span[MAX_WIDTH]; GLint i; MEMSET(span, ctx->Color.ClearIndex, width); for (i = 0; i < height; i++) { -- cgit v1.2.3