fix: 修复鸿蒙系统 webgl 扩展不支持错误 (#1561)

Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
This commit is contained in:
YiQianYao 2023-01-06 11:22:20 +08:00 committed by GitHub
parent 460679aebd
commit ff90a19e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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,