fixed motion streak

This commit is contained in:
yinkaile
2017-12-21 11:38:11 +08:00
parent e30ce09da4
commit 2bd439e890
+1 -1
View File
@@ -224,7 +224,7 @@ var MotionStreak = cc.Class({
if (!material) {
material = new SpriteMaterial();
material.texture = texture.getImpl();
renderer.materialUtil.register(url, this._material);
renderer.materialUtil.register(url, material);
}
this._material = material;