[orx-filters] Set shader parameter to null in Filter constructors
This commit is contained in:
@@ -66,7 +66,7 @@ class PoissonBlender(val width: Int, val height: Int, type: ColorType = ColorTyp
|
||||
|
||||
}
|
||||
|
||||
class PoissonBlend: Filter2to1() {
|
||||
class PoissonBlend: Filter2to1(null) {
|
||||
private var blender: PoissonBlender? = null
|
||||
|
||||
val alphaToBitmap = AlphaToBitmap()
|
||||
|
||||
@@ -40,7 +40,7 @@ class PoissonFiller(val width: Int, val height: Int, type: ColorType = ColorType
|
||||
/**
|
||||
* Poison filling as a filter
|
||||
*/
|
||||
class PoissonFill : Filter1to1() {
|
||||
class PoissonFill : Filter1to1(null) {
|
||||
private var filler: PoissonFiller? = null
|
||||
override fun apply(source: Array<ColorBuffer>, target: Array<ColorBuffer>, clip: Rectangle?) {
|
||||
require(clip == null)
|
||||
|
||||
Reference in New Issue
Block a user