summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-06-05 07:30:01 -0600
committerBrian Paul <[email protected]>2010-06-10 23:33:51 -0600
commit0a48949a11006f9c3b2ee0c93a796a03413345fa (patch)
treea97baee721418f4130aa72122deea9c7a8f3fd8c
parent411bba34462b9fe7e4eb63f653b1d083ff01910d (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);
}