diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2008-09-22 17:23:40 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2008-09-22 17:23:40 -0700 |
commit | 2511d57fa487e4b46a4919913103c2491da7a856 (patch) | |
tree | d51862c39a8da1836e522a50a48917828a52dd83 | |
parent | ed4c6cbe017b4e8bacb7e012d4baaf77a20a2c33 (diff) |
i965: Adapt to new TNL program tracking semantics
This fixes bugzilla #17718.
-rw-r--r-- | 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 df4593e42f..92629016d9 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 ); |