summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-10-29 19:02:23 +0000
committerBrian Paul <[email protected]>2000-10-29 19:02:23 +0000
commit193005393d6b1422ad9084f8e71004f4f055b88f (patch)
tree32d7c3ad13c3f17a9956768600dabd7c52308efb /src/mesa/main/context.c
parentebb248aa5c018dc676d389221d76ed329059789e (diff)
renamed Current.ByteColor Current.Color
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ab8c4dc0651..6f46041887a 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.97 2000/10/28 18:34:48 brianp Exp $ */
+/* $Id: context.c,v 1.98 2000/10/29 19:02:23 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -695,7 +695,7 @@ init_fallback_arrays( GLcontext *ctx )
cl->Type = GL_UNSIGNED_BYTE;
cl->Stride = 0;
cl->StrideB = 0;
- cl->Ptr = (void *) ctx->Current.ByteColor;
+ cl->Ptr = (void *) ctx->Current.Color;
cl->Enabled = 1;
cl = &ctx->Fallback.SecondaryColor;
@@ -884,7 +884,7 @@ init_attrib_groups( GLcontext *ctx )
ctx->Color.MultiDrawBuffer = GL_FALSE;
/* Current group */
- ASSIGN_4V( ctx->Current.ByteColor, CHAN_MAX, CHAN_MAX, CHAN_MAX, CHAN_MAX );
+ ASSIGN_4V( ctx->Current.Color, CHAN_MAX, CHAN_MAX, CHAN_MAX, CHAN_MAX );
ctx->Current.Index = 1;
for (i=0; i<MAX_TEXTURE_UNITS; i++)
ASSIGN_4V( ctx->Current.Texcoord[i], 0.0, 0.0, 0.0, 1.0 );