projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ecf37
)
mesa: fix shininess check for ffvertex_prog v2
author
Tim Rowley
<timothy.o.rowley@intel.com>
Mon, 4 May 2015 21:54:27 +0000
(16:54 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 5 May 2015 20:20:08 +0000
(16:20 -0400)
Switch to using VERT_BIT_GENERIC macro, as varying_vp_inputs is a
bitmask.
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/main/ffvertex_prog.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/ffvertex_prog.c
b/src/mesa/main/ffvertex_prog.c
index 7fdd9bab6ff2d9fb19c93efbc596a41818208a28..70adaf8855110aa745021a7dd1310d599f6a1f37 100644
(file)
--- 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)