平台 : cocos creator 1.9.3 webGL 模式
描述 :
cc.loader.load ({ url : "http://d2m35ekofzsmin.cloudfront.net/mm/i/1/245/240/i6620245s.jpg?v=1549295712" , type : "jpg" } ,function (err,tex) {
if (!err) {
if (tex instanceof cc.Texture2D) {
spr.spriteFrame = new cc.SpriteFrame (tex); // 这里狂警告 ,内容见下面
}
}
});
警告的内容 :
texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.