Mesa (master): tnl: Remove unused NotifyInputChanges() tnl dd hook.

Eric Anholt anholt at kemper.freedesktop.org
Thu Nov 19 11:17:17 UTC 2009


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 17 11:15:13 2009 -0800

tnl: Remove unused NotifyInputChanges() tnl dd hook.

---

 src/mesa/tnl/t_context.h  |    5 -----
 src/mesa/tnl/t_pipeline.c |    4 ----
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 6137c2d..8915770 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -402,11 +402,6 @@ struct tnl_device_driver
    /* Alert tnl-aware drivers of changes to material.
     */
 
-   void (*NotifyInputChanges)(GLcontext *ctx, GLuint bitmask);
-   /* Alert tnl-aware drivers of changes to size and stride of input
-    * arrays.
-    */
-
    /***
     *** Rendering -- These functions called only from t_vb_render.c
     ***/
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 357ef1e..01b30ba 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -86,10 +86,6 @@ static GLuint check_input_changes( GLcontext *ctx )
       }
    }
 
-   if (tnl->pipeline.input_changes &&
-      tnl->Driver.NotifyInputChanges) 
-      tnl->Driver.NotifyInputChanges( ctx, tnl->pipeline.input_changes );
-
    return tnl->pipeline.input_changes;
 }
 




More information about the mesa-commit mailing list