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;