diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-06-30 13:55:20 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-06-30 14:20:25 +0100 |
commit | cd67a4acdf6d0b376c083215720546099288ac33 (patch) | |
tree | a6cebc92d2921ffc113cf65ffeccc902d5976f12 | |
parent | 2de8321e0f6d5b806b4c26d41eaae1bfe872ef3f (diff) |
mesa: better initial value for varying_vp_inputs
Use a minimal value for the initial value of varying_vp_inputs to avoid
generating programs in the first update_state which refer to inputs
which aren't in fact present.
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 415e339cb8..7201125b40 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -735,7 +735,7 @@ init_attrib_groups(GLcontext *ctx) /* Miscellaneous */ ctx->NewState = _NEW_ALL; ctx->ErrorValue = (GLenum) GL_NO_ERROR; - ctx->varying_vp_inputs = ~0; + ctx->varying_vp_inputs = VERT_BIT_POS; return GL_TRUE; } |