Popov72 4 лет назад
Родитель
Сommit
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;