소스 검색

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

(cherry picked from commit b77925d24624599c8db319d602b6c1d2e3071ff9)
David Snopek 4 년 전
부모
커밋
7212256496
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      modules/webxr/native/library_godot_webxr.js

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

@@ -72,10 +72,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);
 		},