accel_profile_smooth_simple: Fix jump in acceleration curve
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Jul 2014 15:17:14 +0000 (17:17 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 9 Jul 2014 02:40:01 +0000 (12:40 +1000)
commit6e8f5f28e230f849f77dd3381cf21f76c080b261
tree0ff9c3c5941e353faccba173a2a6245b98dbe079
parent4da6dd52a433e8ba0a954a0e36bc653cf86651bd
accel_profile_smooth_simple: Fix jump in acceleration curve

There was an error in the value passed to the second calc_penumbral_gradient
call causing a jump in the acceleration curve. This commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/filter.c