Sfoglia il codice sorgente

Fix breaking change in WebGPU after IE11 fix

Popov72 4 anni fa
parent
commit
79508cd0b7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/Engines/webgpuEngine.ts

+ 2 - 0
src/Engines/webgpuEngine.ts

@@ -374,6 +374,8 @@ export class WebGPUEngine extends Engine {
 
         this._sharedInit(canvas, !!options.doNotHandleTouchAction, options.audioEngine);
 
+        this._shaderProcessor = this._getShaderProcessor();
+
         // TODO. WEBGPU. Use real way to do it.
         this._canvas.style.transform = "scaleY(-1)";
     }