sebavan 6 gadi atpakaļ
vecāks
revīzija
6ceb1e8f07
2 mainītis faili ar 17593 papildinājumiem un 17581 dzēšanām
  1. 17592 17580
      Playground/js/babylonWebGpu.max.js
  2. 1 1
      Playground/js/indexWebGPU.js

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 17592 - 17580
Playground/js/babylonWebGpu.max.js


+ 1 - 1
Playground/js/indexWebGPU.js

@@ -575,7 +575,7 @@ function showError(errorMessage, errorEvent) {
                         await engine.initAsync(window.shadercOptions);
 
                         //create scene
-                        eval("scene = " + createSceneFunction + "()");
+                        eval("scene = " + createSceneFunction + "(engine, canvas)");
 
                         if (!scene) {
                             showError(createSceneFunction + " function must return a scene.", null);