diff options
author | Brian Paul <[email protected]> | 2010-01-14 16:21:49 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-14 16:21:49 -0700 |
commit | dfd6e762e70aef6694fa3baedf8d423b08995233 (patch) | |
tree | fd0e53e4a528ad43a218991c09aa0564019963a1 /src | |
parent | 4414a1a73ca649df12b514daa82381a2dbde2ba4 (diff) |
llvmpipe: remove redundant code in llvmpipe_set_blend_color()
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_blend.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |