소스 검색

Fix breaking change in WebGPU after IE11 fix

Popov72 4 년 전
부모
커밋
79508cd0b7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)";
     }