diff --git a/Modules/@babylonjs/react-native/EngineHook.ts b/Modules/@babylonjs/react-native/EngineHook.ts index 6c1c78f56..8c7039ca4 100644 --- a/Modules/@babylonjs/react-native/EngineHook.ts +++ b/Modules/@babylonjs/react-native/EngineHook.ts @@ -87,7 +87,7 @@ if (Platform.OS === "android" || Platform.OS === "ios") { (WebXRSessionManager.prototype as any)._createRenderTargetTexture = function (...args: any[]): RenderTargetTexture { const renderTargetTexture = originalCreateRenderTargetTexture.apply(this, args); renderTargetTexture.onClearObservable.add((engine: ThinEngine) => { - engine.clear(renderTargetTexture.clearColor, false, true, true); + // do nothing }); return renderTargetTexture; diff --git a/Modules/@babylonjs/react-native/submodules/BabylonNative b/Modules/@babylonjs/react-native/submodules/BabylonNative index e8bb154df..03f69dabf 160000 --- a/Modules/@babylonjs/react-native/submodules/BabylonNative +++ b/Modules/@babylonjs/react-native/submodules/BabylonNative @@ -1 +1 @@ -Subproject commit e8bb154df2b348a04637c78bc9730006240bb152 +Subproject commit 03f69dabf71577e0a1623dcb2652e5fea31365d3