i965: remove UseProgram driver callback
authorBrian Paul <brianp@vmware.com>
Sat, 5 Jun 2010 13:30:01 +0000 (07:30 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Jun 2010 05:33:51 +0000 (23:33 -0600)
It just duplicated the default/core Mesa behaviour.

src/mesa/drivers/dri/i965/brw_context.c

index 0be60ad83c03079c0b211dd8ca2c75233ca89989..3e7cf6b867bbf4d2ef61e1f8ac10aab318d8c313 100644 (file)
  * 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);
 }