From 085bca01062b82e48a7bd3126a172f2250511a81 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Sat, 20 Nov 2021 20:25:56 +0100 Subject: [PATCH] [orx-fx] Fix FrameBlur --- orx-fx/src/commonMain/kotlin/blur/FrameBlur.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/orx-fx/src/commonMain/kotlin/blur/FrameBlur.kt b/orx-fx/src/commonMain/kotlin/blur/FrameBlur.kt index 49759f88..43ac6380 100644 --- a/orx-fx/src/commonMain/kotlin/blur/FrameBlur.kt +++ b/orx-fx/src/commonMain/kotlin/blur/FrameBlur.kt @@ -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!!))