David Catuhe 6 лет назад
Родитель
Сommit
52a6db4e2e
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 0
      src/Engines/engine.ts
  2. 1 2
      tests/validation/config.json

+ 1 - 0
src/Engines/engine.ts

@@ -1091,6 +1091,7 @@ export class Engine {
             }
 
             // GL
+            options.disableWebGL2Support = true;
             if (!options.disableWebGL2Support) {
                 try {
                     this._gl = <any>(canvas.getContext("webgl2", options) || canvas.getContext("experimental-webgl2", options));

+ 1 - 2
tests/validation/config.json

@@ -580,8 +580,7 @@
         },
         {
             "title": "PBR rough",
-            "scriptToRun": "/Demos/PBRRough/index.js",
-            "functionToCall": "CreatePBRRoughScene",
+            "playgroundId": "#PI9IE8#0",
             "referenceImage": "pbrrough.png"
         },
         {