Popov72 4 년 전
부모
커밋
11b69b4ca5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Engines/webgpuEngine.ts

+ 1 - 1
src/Engines/webgpuEngine.ts

@@ -270,7 +270,7 @@ export class WebGPUEngine extends Engine {
         this._lockstepMaxSteps = options.lockstepMaxSteps;
         this._lockstepMaxSteps = options.lockstepMaxSteps;
         this._timeStep = options.timeStep || 1 / 60;
         this._timeStep = options.timeStep || 1 / 60;
 
 
-        this._doNotHandleContextLost = true;
+        this._doNotHandleContextLost = false;
 
 
         this._canvas = canvas;
         this._canvas = canvas;
         this._options = options;
         this._options = options;