summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pipelineobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/pipelineobj.c')
-rw-r--r--src/mesa/main/pipelineobj.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c
index 84837525083..cd8b0a775b6 100644
--- a/src/mesa/main/pipelineobj.c
+++ b/src/mesa/main/pipelineobj.c
@@ -470,9 +470,6 @@ _mesa_bind_pipeline(struct gl_context *ctx,
for (i = 0; i < MESA_SHADER_STAGES; i++)
_mesa_shader_program_init_subroutine_defaults(ctx->_Shader->CurrentProgram[i]);
-
- if (ctx->Driver.UseProgram)
- ctx->Driver.UseProgram(ctx, NULL);
}
}