summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2008-09-22 17:23:40 -0700
committerIan Romanick <[email protected]>2008-09-22 17:23:40 -0700
commit2511d57fa487e4b46a4919913103c2491da7a856 (patch)
treed51862c39a8da1836e522a50a48917828a52dd83 /src/mesa/drivers/dri
parented4c6cbe017b4e8bacb7e012d4baaf77a20a2c33 (diff)
i965: Adapt to new TNL program tracking semantics
This fixes bugzilla #17718.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c3
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 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 );