Gregg Tavares 5 년 전
부모
커밋
bee6b0637a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      threejs/resources/lessons-helper.js

+ 1 - 1
threejs/resources/lessons-helper.js

@@ -558,7 +558,7 @@
         };
         const ctx = oldFn.apply(this, args);
         if (!ctx) {
-          if (!isWebGL2) {
+          if (isWebGL2) {
             // three tries webgl2 then webgl1
             // so wait 1/2 a second before showing the failure
             // message. If we get success on the same canvas