浏览代码

Fix stroke mesh multiple release issue.

/main
Yuncong Zhang 5 年前
当前提交
f9441f92
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_impl.cs

2
Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_impl.cs


if (strokeMesh != null) {
layer.draws.Add(CanvasShader.strokeAlpha(layer, p, alpha, strokeMult, strokeMesh));
layer.draws.Add(CanvasShader.stroke1(layer, strokeMesh));
layer.draws.Add(CanvasShader.stroke1(layer, strokeMesh.duplicate()));
}
}

正在加载...
取消
保存