mirror of https://gitee.com/antv-l7/antv-l7
fix: 修复鸿蒙系统 webgl 扩展不支持错误 (#1561)
Co-authored-by: shihui <yiqianyao.yqy@alibaba-inc.com>
This commit is contained in:
parent
460679aebd
commit
ff90a19e2d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue