summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vtx_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_vtx_eval.c')
-rw-r--r--src/mesa/tnl/t_vtx_eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vtx_eval.c b/src/mesa/tnl/t_vtx_eval.c
index 7156407..bb621ec 100644
--- a/src/mesa/tnl/t_vtx_eval.c
+++ b/src/mesa/tnl/t_vtx_eval.c
@@ -123,8 +123,7 @@ void _tnl_update_eval( GLcontext *ctx )
* We do this after the conventional attributes since the spec says that
* these generic maps have higher priority.
*/
- if (ctx->VertexProgram._Enabled &&
- ctx->VertexProgram._Current &&
+ if (ctx->VertexProgram._Current &&
ctx->VertexProgram._Current->IsNVProgram) {
for (attr = 0; attr < 16; attr++) {
if (ctx->Eval.Map1Attrib[attr])