i965g: remove duplicate set_viewport_state, fixes samples/depth
diff --git a/src/gallium/drivers/i965/brw_pipe_misc.c b/src/gallium/drivers/i965/brw_pipe_misc.c
index 0d0d92d..3035907 100644
--- a/src/gallium/drivers/i965/brw_pipe_misc.c
+++ b/src/gallium/drivers/i965/brw_pipe_misc.c
@@ -30,14 +30,6 @@
brw->state.dirty.mesa |= PIPE_NEW_SCISSOR;
}
-static void brw_set_viewport_state( struct pipe_context *pipe,
- const struct pipe_viewport_state *viewport )
-{
- struct brw_context *brw = brw_context(pipe);
-
- brw->curr.viewport = *viewport;
- brw->state.dirty.mesa |= PIPE_NEW_VIEWPORT;
-}
static void brw_set_clip_state( struct pipe_context *pipe,
const struct pipe_clip_state *clip )
@@ -54,7 +46,6 @@
brw->base.set_polygon_stipple = brw_set_polygon_stipple;
brw->base.set_scissor_state = brw_set_scissor_state;
brw->base.set_clip_state = brw_set_clip_state;
- brw->base.set_viewport_state = brw_set_viewport_state;
}