remove intelInvalidateState
authorBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 17:08:31 +0000 (11:08 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 17:08:31 +0000 (11:08 -0600)
src/mesa/drivers/dri/intel_winsys/intel_context.c

index 71bc500..975085b 100644 (file)
@@ -151,16 +151,6 @@ static const struct dri_debug_control debug_control[] = {
 };
 #endif
 
-static void
-intelInvalidateState(GLcontext * ctx, GLuint new_state)
-{
-   _vbo_InvalidateState(ctx, new_state);
-   _tnl_InvalidateState(ctx, new_state);
-   _tnl_invalidate_vertex_state(ctx, new_state);
-
-   st_invalidate_state( ctx, new_state );
-}
-
 
 void
 intelFlush(GLcontext * ctx)
@@ -180,9 +170,6 @@ static void
 intelInitDriverFunctions(struct dd_function_table *functions)
 {
    _mesa_init_driver_functions(functions);
-
-   functions->UpdateState = intelInvalidateState;
-
    st_init_driver_functions(functions);
 }