소스 검색

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

Deltakosh 12 년 전
부모
커밋
51c3dd2ea2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Babylon/babylon.engine.js

+ 2 - 2
Babylon/babylon.engine.js

@@ -11,7 +11,7 @@
             throw new Error("WebGL not supported");
         }
 
-        if (this._gl === undefined) {
+        if (this._gl === undefined || this._gl === null) {
             throw new Error("WebGL not supported");
         }
 
@@ -937,4 +937,4 @@
             return false;
         }
     };
-})();
+})();