diff --git a/orx-jvm/orx-poisson-fill/src/main/kotlin/LaplacianIntegrator.kt b/orx-jvm/orx-poisson-fill/src/main/kotlin/LaplacianIntegrator.kt index c793bb38..d8a02af0 100644 --- a/orx-jvm/orx-poisson-fill/src/main/kotlin/LaplacianIntegrator.kt +++ b/orx-jvm/orx-poisson-fill/src/main/kotlin/LaplacianIntegrator.kt @@ -9,7 +9,7 @@ internal class PassthroughNoAlpha : Filter(filterShaderFromUrl(resourceUrl("/sha /** * Laplacian filter */ -class Laplacian : Filter(filterShaderFromUrl(resourceUrl("/shaders/gl3/poisson/laplacian.frag"))) +class Laplacian : Filter1to1(filterShaderFromUrl(resourceUrl("/shaders/gl3/poisson/laplacian.frag"))) class LaplacianIntegrator(width: Int, height: Int, downscaling: Int = 1, type: ColorType = ColorType.FLOAT32) { private val pyramid = ConvolutionPyramid(2 + width / downscaling, 2 + height / downscaling, type = type) diff --git a/orx-jvm/orx-poisson-fill/src/main/kotlin/PoissonFiller.kt b/orx-jvm/orx-poisson-fill/src/main/kotlin/PoissonFiller.kt index 770b2384..2d7e5da7 100644 --- a/orx-jvm/orx-poisson-fill/src/main/kotlin/PoissonFiller.kt +++ b/orx-jvm/orx-poisson-fill/src/main/kotlin/PoissonFiller.kt @@ -39,7 +39,7 @@ class PoissonFiller(val width: Int, val height: Int, type: ColorType = ColorType /** * Poison filling as a filter */ -class PoissonFill : Filter() { +class PoissonFill : Filter1to1() { private var filler: PoissonFiller? = null override fun apply(source: Array, target: Array) { if (target.isNotEmpty()) {