diff options
author | Brian Paul <[email protected]> | 2012-06-26 14:47:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-27 07:50:56 -0600 |
commit | 4cb3579e52fed48d623698610e31d05ac8c8946f (patch) | |
tree | cfe51fe403ff2d16fae4e76dda8f418a18475b03 /src/mesa/tnl | |
parent | b114ff3783c1aff636c4293eccfc9e04b802d3bf (diff) |
mesa: rename ColorMaterialBitmask to _ColorMaterialBitmask
Since it's a derived field.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vb_light.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_light.c b/src/mesa/tnl/t_vb_light.c index 39467fac731..854887c8f36 100644 --- a/src/mesa/tnl/t_vb_light.c +++ b/src/mesa/tnl/t_vb_light.c @@ -227,12 +227,12 @@ prepare_materials(struct gl_context *ctx, store->mat_count = 0; store->mat_bitmask = 0; - /* Examine the ColorMaterialBitmask to determine which materials + /* Examine the _ColorMaterialBitmask to determine which materials * track vertex color. Override the material attribute's pointer * with the color pointer for each one. */ if (ctx->Light.ColorMaterialEnabled) { - const GLuint bitmask = ctx->Light.ColorMaterialBitmask; + const GLuint bitmask = ctx->Light._ColorMaterialBitmask; for (i = 0 ; i < MAT_ATTRIB_MAX ; i++) if (bitmask & (1<<i)) VB->AttribPtr[_TNL_ATTRIB_MAT_FRONT_AMBIENT + i] = VB->AttribPtr[_TNL_ATTRIB_COLOR0]; |