[]【laya2.0】请问drawToCanvas方法改了吗?
var htmlCanvas=this.p6_work.drawToCanvas(575,1023,0,0);
var canvas=htmlCanvas.getCanvas();
var base64=canvas.toDataURL("image/png");
报错:Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'.
var canvas=htmlCanvas.getCanvas();
var base64=canvas.toDataURL("image/png");
报错:Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'.
要回复问题请先登录
2 个回复
Aar0n
赞同来自:
ohkei - as3、as2、h5
赞同来自: