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._timeStep = options.timeStep || 1 / 60;
 
-        this._doNotHandleContextLost = true;
+        this._doNotHandleContextLost = false;
 
         this._canvas = canvas;
         this._options = options;