From ff90a19e2d1a82209bf2a0f4855d404290cc8e7e Mon Sep 17 00:00:00 2001 From: YiQianYao <42212176+yiiiiiiqianyao@users.noreply.github.com> Date: Fri, 6 Jan 2023 11:22:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=B8=BF=E8=92=99?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=20webgl=20=E6=89=A9=E5=B1=95=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=94=99=E8=AF=AF=20(#1561)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: shihui --- packages/layers/src/line/models/line.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/layers/src/line/models/line.ts b/packages/layers/src/line/models/line.ts index 6559d93374..04f17ccd71 100644 --- a/packages/layers/src/line/models/line.ts +++ b/packages/layers/src/line/models/line.ts @@ -39,14 +39,6 @@ export default class LineModel extends BaseModel { width: 1, height: 1, }); - protected dataTexture: ITexture2D =this.createTexture2D({ - flipY: true, - data: [1], - format: gl.LUMINANCE, - type: gl.FLOAT, - width: 1, - height: 1, - }); public getUninforms(): IModelUniform { const { opacity = 1,