OSDN Git Service
(root)
/
android-x86
/
external-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
a10c591
..
9b950e8
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);