Module: Mesa Branch: st-vbo Commit: cd67a4acdf6d0b376c083215720546099288ac33 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd67a4acdf6d0b376c083215720546099288ac33
Author: Keith Whitwell <[email protected]> Date: Tue Jun 30 13:55:20 2009 +0100 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. --- 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 415e339..7201125 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
