Skip to content
Snippets Groups Projects
Commit be7b998a authored by Tim Rowley's avatar Tim Rowley Committed by Emil Velikov
Browse files

mesa: fix shininess check for ffvertex_prog v2


Switch to using VERT_BIT_GENERIC macro, as varying_vp_inputs is a
bitmask.

Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit ce01c0af)
parent 8ee1a1c0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment