i965: Adapt to new TNL program tracking semantics
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Sep 2008 00:23:40 +0000 (17:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 23 Sep 2008 00:23:40 +0000 (17:23 -0700)
This fixes bugzilla #17718.

src/mesa/drivers/dri/i965/brw_context.c

index df4593e42f7b4201e85f6f046e70571495f8be31..92629016d980ac46ec090bd386d63d2fbb2f7918 100644 (file)
@@ -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 );