Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
11b69b4ca5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;