summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_state.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-12-11 13:19:33 +0000
committerKeith Whitwell <[email protected]>2007-12-11 13:19:33 +0000
commit94cadef31f9d4ee9fce1bfa66fabb0a403a6f049 (patch)
tree610799f85e3fa5c30cb7db1c20fdd5b437bac888 /src/mesa/pipe/i915simple/i915_state.c
parent48731280d08bef51c406703e82986643e17b4757 (diff)
gallium: remove redundant clear_color state.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state.c b/src/mesa/pipe/i915simple/i915_state.c
index b9f257a0071..a8c6565a54b 100644
--- a/src/mesa/pipe/i915simple/i915_state.c
+++ b/src/mesa/pipe/i915simple/i915_state.c
@@ -548,16 +548,6 @@ static void i915_set_framebuffer_state(struct pipe_context *pipe,
-static void i915_set_clear_color_state(struct pipe_context *pipe,
- const struct pipe_clear_color_state *clear)
-{
- struct i915_context *i915 = i915_context(pipe);
-
- i915->clear_color = *clear; /* struct copy */
-}
-
-
-
static void i915_set_clip_state( struct pipe_context *pipe,
const struct pipe_clip_state *clip )
{
@@ -720,7 +710,6 @@ i915_init_state_functions( struct i915_context *i915 )
i915->pipe.set_blend_color = i915_set_blend_color;
i915->pipe.set_clip_state = i915_set_clip_state;
- i915->pipe.set_clear_color_state = i915_set_clear_color_state;
i915->pipe.set_constant_buffer = i915_set_constant_buffer;
i915->pipe.set_framebuffer_state = i915_set_framebuffer_state;