diff options
author | Brian Paul <[email protected]> | 2000-10-29 19:02:23 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-10-29 19:02:23 +0000 |
commit | 193005393d6b1422ad9084f8e71004f4f055b88f (patch) | |
tree | 32d7c3ad13c3f17a9956768600dabd7c52308efb /src/mesa/main/rastpos.c | |
parent | ebb248aa5c018dc676d389221d76ed329059789e (diff) |
renamed Current.ByteColor Current.Color
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r-- | src/mesa/main/rastpos.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index b4d36bbb0d1..1ba4695c6da 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -1,4 +1,4 @@ -/* $Id: rastpos.c,v 1.10 2000/10/28 20:41:14 brianp Exp $ */ +/* $Id: rastpos.c,v 1.11 2000/10/29 19:02:23 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -92,10 +92,10 @@ static void raster_pos4f( GLcontext *ctx, else { /* use current color or index */ if (ctx->Visual.RGBAflag) { - ctx->Current.RasterColor[0] = CHAN_TO_FLOAT(ctx->Current.ByteColor[0]); - ctx->Current.RasterColor[1] = CHAN_TO_FLOAT(ctx->Current.ByteColor[1]); - ctx->Current.RasterColor[2] = CHAN_TO_FLOAT(ctx->Current.ByteColor[2]); - ctx->Current.RasterColor[3] = CHAN_TO_FLOAT(ctx->Current.ByteColor[3]); + ctx->Current.RasterColor[0] = CHAN_TO_FLOAT(ctx->Current.Color[0]); + ctx->Current.RasterColor[1] = CHAN_TO_FLOAT(ctx->Current.Color[1]); + ctx->Current.RasterColor[2] = CHAN_TO_FLOAT(ctx->Current.Color[2]); + ctx->Current.RasterColor[3] = CHAN_TO_FLOAT(ctx->Current.Color[3]); } else { ctx->Current.RasterIndex = ctx->Current.Index; |