From: Ian Romanick Date: Tue, 23 Sep 2008 00:23:40 +0000 (-0700) Subject: i965: Adapt to new TNL program tracking semantics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2511d57fa487e4b46a4919913103c2491da7a856;p=mesa.git i965: Adapt to new TNL program tracking semantics This fixes bugzilla #17718. --- diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index df4593e42f7..92629016d98 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 );