Explorar o código

Fixes #48178: WebXR broken when built with Emscripten 2.0.13 or later

David Snopek %!s(int64=4) %!d(string=hai) anos
pai
achega
b77925d246
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      modules/webxr/native/library_godot_webxr.js

+ 0 - 2
modules/webxr/native/library_godot_webxr.js

@@ -71,10 +71,8 @@ const GodotWebXR = {
 			// enabled or disabled. When using the WebXR API Emulator, this
 			// gets picked up automatically, however, in the Oculus Browser
 			// on the Quest, we need to pause and resume the main loop.
-			Browser.pauseAsyncCallbacks();
 			Browser.mainLoop.pause();
 			window.setTimeout(function () {
-				Browser.resumeAsyncCallbacks();
 				Browser.mainLoop.resume();
 			}, 0);
 		},