2
0
Nicolas Cannasse 4 жил өмнө
parent
commit
f7e5e23c30
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      hide/comp/Scene.hx

+ 1 - 0
hide/comp/Scene.hx

@@ -124,6 +124,7 @@ class Scene extends Component implements h3d.IDrawable {
 		engine.backgroundColor = 0xFF111111;
 		canvas.id = null;
 		engine.onReady = function() {
+			if( engine.driver == null ) return;
 			new Element(canvas).on("resize", function() {
 				@:privateAccess window.checkResize();
 			});