tnl: Remove unused NotifyInputChanges() tnl dd hook.
authorEric Anholt <eric@anholt.net>
Tue, 17 Nov 2009 19:15:13 +0000 (11:15 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 19 Nov 2009 10:47:04 +0000 (11:47 +0100)
src/mesa/tnl/t_context.h
src/mesa/tnl/t_pipeline.c

index 6137c2d2fe52220f6c9e862e5f5a282f79264664..8915770d8be7565ef61f45b5aa4a89b8d8c54ae0 100644 (file)
@@ -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
     ***/
index 357ef1e24b5bf4914fe2b3e3b4e31d86eb314ae3..01b30babb4828b4c8ebcdee8babea9dfba790086 100644 (file)
@@ -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;
 }