From: Brian Paul Date: Sat, 5 Jun 2010 13:30:01 +0000 (-0600) Subject: i965: remove UseProgram driver callback X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a48949a11006f9c3b2ee0c93a796a03413345fa;p=mesa.git i965: remove UseProgram driver callback It just duplicated the default/core Mesa behaviour. --- 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); }