[]WebGL模式下用遮罩实现圆形头像会有警告出现

警告如下:WebGL: INVALID_OPERATION: bindTexture: attempt to bind a deleted texture
 
代码示例:
this.img = new Laya.Image();
this.img.loadImage("url");

const mask = new Laya.Sprite();
mask.graphics.drawCircle(75, 75, 75, "#ffffff");
this.img.mask = mask;
this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2);

Laya.stage.addChild(this.img);
2017-01-06-144302_634x160_scrot.png
已邀请:

cuixueying

赞同来自:

能否把你的测试示例上传下,我们看下,谢谢!

a694284699

赞同来自:

直接跑index.html就行

要回复问题请先

商务合作
商务合作