silence -Wunused-parameter warning in grain-extract for now - refs #2067
This commit is contained in:
parent
d62a4b0914
commit
963ac22588
1 changed files with 2 additions and 1 deletions
3
deps/agg/include/agg_pixfmt_rgba.h
vendored
3
deps/agg/include/agg_pixfmt_rgba.h
vendored
|
@ -1445,6 +1445,7 @@ struct comp_op_rgba_grain_merge
|
||||||
|
|
||||||
// grain extract (GIMP)
|
// grain extract (GIMP)
|
||||||
// E = I - M + 128
|
// E = I - M + 128
|
||||||
|
// FIXME: https://github.com/mapnik/mapnik/issues/2067
|
||||||
template <typename ColorT, typename Order>
|
template <typename ColorT, typename Order>
|
||||||
struct comp_op_rgba_grain_extract
|
struct comp_op_rgba_grain_extract
|
||||||
{
|
{
|
||||||
|
@ -1461,7 +1462,7 @@ struct comp_op_rgba_grain_extract
|
||||||
|
|
||||||
static AGG_INLINE void blend_pix(value_type* p,
|
static AGG_INLINE void blend_pix(value_type* p,
|
||||||
unsigned sr, unsigned sg, unsigned sb,
|
unsigned sr, unsigned sg, unsigned sb,
|
||||||
unsigned sa, unsigned cover)
|
unsigned sa, unsigned /*cover*/)
|
||||||
{
|
{
|
||||||
calc_type da = (p[Order::A] * sa + 255) >> 8;
|
calc_type da = (p[Order::A] * sa + 255) >> 8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue