diff --git a/acornui-core/src/commonMain/kotlin/com/acornui/component/CurvedCorner.kt b/acornui-core/src/commonMain/kotlin/com/acornui/component/CurvedCorner.kt index 313c02d8..57371c64 100644 --- a/acornui-core/src/commonMain/kotlin/com/acornui/component/CurvedCorner.kt +++ b/acornui-core/src/commonMain/kotlin/com/acornui/component/CurvedCorner.kt @@ -80,6 +80,7 @@ fun Scoped.createSmoothCorner( val curvedShader = curvedShader!! glState.shader = curvedShader framebuffer.begin() + clearAndReset() glState.blendMode(BlendMode.NONE, premultipliedAlpha = false) glState.useViewport(0, 0, framebuffer.width, framebuffer.height) { gl.uniform2f(curvedShader.getRequiredUniformLocation("u_cornerRadius"), cornerRadiusX, cornerRadiusY)