projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4414a1a
)
llvmpipe: remove redundant code in llvmpipe_set_blend_color()
author
Brian Paul
<brianp@vmware.com>
Thu, 14 Jan 2010 23:21:49 +0000
(16:21 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 14 Jan 2010 23:21:49 +0000
(16:21 -0700)
src/gallium/drivers/llvmpipe/lp_state_blend.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_blend.c
b/src/gallium/drivers/llvmpipe/lp_state_blend.c
index a10c5918df3d0d7a65c7a03e036c6f6fa7340178..9b950e82d897394976d4e71dc109c72cb5e370cd 100644
(file)
--- 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);