]> git.sesse.net Git - movit/commit
Fix a bug where DeconvolutionSharpenEffect would forget one line of the kernel.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 29 Dec 2013 22:55:57 +0000 (23:55 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 29 Dec 2013 22:55:57 +0000 (23:55 +0100)
commitb5a446a44ee1f0379e8427f86f5dfa0d40bc0e60
tree660fffc146923735729f100f1127970cc15836a4
parent4e1cc130959901f8be5566eacf7ecadbc7e0e9b2
Fix a bug where DeconvolutionSharpenEffect would forget one line of the kernel.

This manifested itself in that non-identity filters would start changing alpha
of solid images (since the kernel didn't sum up to one), which obviously isn't
good. Added a unit test to make sure it doesn't happen again.
deconvolution_sharpen_effect.frag
deconvolution_sharpen_effect_test.cpp