Revert "layers should be composited with zero offset"
This reverts commit a734ff1e90
.
This commit is contained in:
parent
441687ecff
commit
56ac4623c9
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,9 @@ void agg_renderer<T0,T1>::end_layer_processing(layer const& lyr)
|
|||
{
|
||||
composite_mode_e comp_op = lyr.comp_op() ? *lyr.comp_op() : src_over;
|
||||
composite(previous_buffer, current_buffer,
|
||||
comp_op, lyr.get_opacity(), 0, 0);
|
||||
comp_op, lyr.get_opacity(),
|
||||
-common_.t_.offset(),
|
||||
-common_.t_.offset());
|
||||
internal_buffers_.pop();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue