summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2007-10-08 15:34:03 +0800
committerZou Nan hai <nanhai.zou@intel.com>2007-10-08 15:34:03 +0800
commitac985708f4820173bdc4509d032bdabeb93a0590 (patch)
treede667e344f60933b802ca7f718ef233945615bfb /src/mesa/drivers/dri/i965
parent3d6c4109902b555a3f8076170d572c7caeb6cbfe (diff)
Only vertex program fix, bypass tnl vertex program
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 2031d556c1..9266e73570 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -79,7 +79,7 @@ static void brwUseProgram(GLcontext *ctx, GLuint program)
brw->attribs.FragmentProgram->Current = sh_prog->FragmentProgram;
ctx->FragmentProgram.Enabled = GL_TRUE;
} else
- ctx->VertexProgram.Enabled = GL_FALSE;
+ ctx->FragmentProgram.Enabled = GL_FALSE;
}
}