summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arbprogram.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-23 23:59:56 +0100
committerMarek Olšák <[email protected]>2017-03-29 15:44:00 +0200
commita2db9f9ff42435bc952ae1897b76b42610aeb7b7 (patch)
tree4e1be8632cd5c7d7a2efad1ec1ea2f8ef79f4b2d /src/mesa/main/arbprogram.c
parente81ee821194fbe1fc3b4b63f74fd8a33cb7e123b (diff)
mesa: remove dd_function_table::BindProgram
Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/arbprogram.c')
-rw-r--r--src/mesa/main/arbprogram.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/arbprogram.c b/src/mesa/main/arbprogram.c
index 2c6031096ac..f3a0a54c016 100644
--- a/src/mesa/main/arbprogram.c
+++ b/src/mesa/main/arbprogram.c
@@ -118,9 +118,6 @@ _mesa_BindProgramARB(GLenum target, GLuint id)
/* Never null pointers */
assert(ctx->VertexProgram.Current);
assert(ctx->FragmentProgram.Current);
-
- if (ctx->Driver.BindProgram)
- ctx->Driver.BindProgram(ctx, target, newProg);
}