OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811c2e9
)
more parenthesis
author
Brian
<brian@yutani.localnet.net>
Tue, 27 Mar 2007 16:36:06 +0000
(10:36 -0600)
committer
Brian
<brian@yutani.localnet.net>
Tue, 27 Mar 2007 22:06:47 +0000
(16:06 -0600)
src/mesa/tnl/t_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_context.c
b/src/mesa/tnl/t_context.c
index
f282832
..
255c2bd
100644
(file)
--- a/
src/mesa/tnl/t_context.c
+++ b/
src/mesa/tnl/t_context.c
@@
-120,7
+120,7
@@
_tnl_InvalidateState( GLcontext *ctx, GLuint new_state )
RENDERINPUTS_ZERO( tnl->render_inputs_bitset );
RENDERINPUTS_SET( tnl->render_inputs_bitset, _TNL_ATTRIB_POS );
- if (!fp ||
fp->Base.InputsRead & FRAG_BIT_COL0
) {
+ if (!fp ||
(fp->Base.InputsRead & FRAG_BIT_COL0)
) {
RENDERINPUTS_SET( tnl->render_inputs_bitset, _TNL_ATTRIB_COLOR0 );
}
for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) {