From dfd6e762e70aef6694fa3baedf8d423b08995233 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 14 Jan 2010 16:21:49 -0700 Subject: llvmpipe: remove redundant code in llvmpipe_set_blend_color() --- src/gallium/drivers/llvmpipe/lp_state_blend.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/llvmpipe/lp_state_blend.c b/src/gallium/drivers/llvmpipe/lp_state_blend.c index a10c5918df3..9b950e82d89 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_state_blend.c @@ -80,9 +80,6 @@ void llvmpipe_set_blend_color( struct pipe_context *pipe, if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) return; - if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) - return; - draw_flush(llvmpipe->draw); memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); -- cgit v1.2.3