From 050eed095a3f7eaeada1e292f92f2b549d74963f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Jun 2010 07:30:01 -0600 Subject: [PATCH] i965: remove UseProgram driver callback It just duplicated the default/core Mesa behaviour. --- src/mesa/drivers/dri/i965/brw_context.c | 10 ---------- 1 file changed, 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); } -- 2.30.2