X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_filter%2Fhalftone2.cpp;h=b8977a961f30fed3fc229c861c5737b08a5e17a8;hb=c3ad95144d148602f672e95ddda1f18fc35502f8;hp=c7083e1c72f857a7dcfe656c8cf9f797d908f94e;hpb=c25902b514d64fd65c96ed56171bcd205d19d699;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp b/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp index c7083e1..b8977a9 100644 --- a/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp +++ b/synfig-core/trunk/src/modules/mod_filter/halftone2.cpp @@ -93,13 +93,13 @@ Halftone2::color_func(const Point &point, float supersample,const Color& color)c } inline float -Halftone2::calc_supersample(const synfig::Point &x, float pw,float ph)const +Halftone2::calc_supersample(const synfig::Point &/*x*/, float pw,float /*ph*/)const { return abs(pw/(halftone.size).mag()); } synfig::Layer::Handle -Halftone2::hit_check(synfig::Context context, const synfig::Point &point)const +Halftone2::hit_check(synfig::Context /*context*/, const synfig::Point &/*point*/)const { return const_cast(this); }