Gregg Tavares 4 years ago
parent
commit
bee6b0637a
1 changed files with 1 additions and 1 deletions
  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);
         const ctx = oldFn.apply(this, args);
         if (!ctx) {
         if (!ctx) {
-          if (!isWebGL2) {
+          if (isWebGL2) {
             // three tries webgl2 then webgl1
             // three tries webgl2 then webgl1
             // so wait 1/2 a second before showing the failure
             // so wait 1/2 a second before showing the failure
             // message. If we get success on the same canvas
             // message. If we get success on the same canvas