On Mon, 2008-09-22 at 17:23 -0700, Ian Romanick wrote: > Module: Mesa > Branch: master > Commit: 2511d57fa487e4b46a4919913103c2491da7a856 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=2511d57fa487e4b46a4919913103c2491da7a856 > > Author: Ian Romanick <[EMAIL PROTECTED]> > Date: Mon Sep 22 17:23:40 2008 -0700 > > i965: Adapt to new TNL program tracking semantics > > This fixes bugzilla #17718. > > --- > > src/mesa/drivers/dri/i965/brw_context.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_context.c > b/src/mesa/drivers/dri/i965/brw_context.c > index df4593e..9262901 100644 > --- a/src/mesa/drivers/dri/i965/brw_context.c > +++ b/src/mesa/drivers/dri/i965/brw_context.c > @@ -147,7 +147,8 @@ GLboolean brwCreateContext( const __GLcontextModes > *mesaVis, > > brw->emit_state_always = 0; > > - ctx->FragmentProgram._MaintainTexEnvProgram = 1; > + ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; > + ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; > > brw_draw_init( brw );
i965 builds TNL program itself, this commit breaks many other mesa demos, such as teapot, tunnel, rain etc. Thanks Haihao ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
