fix codes only for native

This commit is contained in:
minggo
2018-03-30 16:43:50 +08:00
parent 19a1354c9a
commit ec424652e1
+1 -2
View File
@@ -64,8 +64,7 @@ module.exports = {
this.Texture2D = renderEngine.Texture2D;
this.canvas = canvas;
// this.device = new renderEngine.Device(canvas, opts);
this.device = window.device;
this.device = new renderEngine.Device(canvas, opts);
this.scene = new renderEngine.Scene();
this._walker = new RenderComponentWalker(this.device, this.scene);