Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.

More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
This commit is contained in:
Brian Paul
2000-10-30 16:32:42 +00:00
parent caef4a35d6
commit 9499e017b7
12 changed files with 73 additions and 79 deletions

View File

@@ -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++) {