[orx-fx] Fix FrameBlur

This commit is contained in:
Edwin Jakobs
2021-11-20 20:25:56 +01:00
parent b03264fc2f
commit 085bca0106

View File

@@ -30,8 +30,7 @@ class FrameBlur : Filter(mppFilterShader(fx_frame_blur, "frame-blur")) {
if (intermediate == null) {
intermediate = colorBuffer(target[0].width, target[0].height, type = ColorType.FLOAT16)
//intermediate?.fill(ColorRGBa.TRANSPARENT)
TODO("no mpp colorbuffer.fill")
intermediate?.fill(ColorRGBa.TRANSPARENT)
}
super.apply(arrayOf(source[0], intermediate!!), arrayOf(intermediate!!))