diff options
author | Tim Rowley <[email protected]> | 2015-05-04 16:54:27 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-05-05 16:20:08 -0400 |
commit | ce01c0af70f2475fbbb1c3ab90d43a19047abc5c (patch) | |
tree | 12acd26cc621228703e2ba8f272fb2a1a6ef19cc /src | |
parent | 24ecf37ac070bd3c49b8e1146abe47ab24134191 (diff) |
mesa: fix shininess check for ffvertex_prog v2
Switch to using VERT_BIT_GENERIC macro, as varying_vp_inputs is a
bitmask.
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/ffvertex_prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c index 7fdd9bab6ff..70adaf88551 100644 --- a/src/mesa/main/ffvertex_prog.c +++ b/src/mesa/main/ffvertex_prog.c @@ -135,7 +135,7 @@ static GLboolean check_active_shininess( struct gl_context *ctx, (key->light_color_material_mask & (1 << attr))) return GL_TRUE; - if (key->varying_vp_inputs & VERT_ATTRIB_GENERIC(attr)) + if (key->varying_vp_inputs & VERT_BIT_GENERIC(attr)) return GL_TRUE; if (ctx->Light.Material.Attrib[attr][0] != 0.0F) |