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 71bc5003d26421e57677049b7d67b561a532f2f5..975085b16810b9e3d5273e54a158bff571b645ac 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);
 }