summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-06-05 07:30:01 -0600
committerBrian Paul <[email protected]>2010-06-10 20:06:45 -0600
commit050eed095a3f7eaeada1e292f92f2b549d74963f (patch)
treedb040026f8c278e9144cfa8023aae1f2eb3eca54
parent628cf02d673890fac4f16b9241021a8eda87c96c (diff)
i965: remove UseProgram driver callback
It just duplicated the default/core Mesa behaviour.
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 0be60ad83c0..3e7cf6b867b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -48,21 +48,11 @@
* Mesa's Driver Functions
***************************************/
-static void brwUseProgram(GLcontext *ctx, GLuint program)
-{
- _mesa_use_program(ctx, program);
-}
-
-static void brwInitProgFuncs( struct dd_function_table *functions )
-{
- functions->UseProgram = brwUseProgram;
-}
static void brwInitDriverFunctions( struct dd_function_table *functions )
{
intelInitDriverFunctions( functions );
brwInitFragProgFuncs( functions );
- brwInitProgFuncs( functions );
brw_init_queryobj_functions(functions);
}