llvmpipe: remove redundant code in llvmpipe_set_blend_color()
This commit is contained in:
parent
4414a1a73c
commit
dfd6e762e7
|
@ -80,9 +80,6 @@ void llvmpipe_set_blend_color( struct pipe_context *pipe,
|
||||||
if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0)
|
if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
draw_flush(llvmpipe->draw);
|
draw_flush(llvmpipe->draw);
|
||||||
|
|
||||||
memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color);
|
memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color);
|
||||||
|
|
Loading…
Reference in New Issue