Refactor the pass-through path in ConvolveMatrix::render()
After #737 (closed), the render
method of ConvolveMatrix
is a bit messy. However, now it has a block that does return Ok(FilterOutput ...)
. We should check all the arguments for rendering right there, and return with the source surface in that way - instead of returning filter errors.