Mesa (master): i965: remove UseProgram driver callback

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 23 21:31:05 PDT 2010


Module: Mesa
Branch: master
Commit: 050eed095a3f7eaeada1e292f92f2b549d74963f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=050eed095a3f7eaeada1e292f92f2b549d74963f

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Jun  5 07:30:01 2010 -0600

i965: remove UseProgram driver callback

It just duplicated the default/core Mesa behaviour.

---

 src/mesa/drivers/dri/i965/brw_context.c |   10 ----------
 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 0be60ad..3e7cf6b 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);
 }
 



More information about the mesa-commit mailing list