Skip to content

Conversation

@blairmacintyre
Copy link

The immersive-ar-session sample starts with an inline session and then adds another session for immersive-ar. It starts a rAF loop for each, resulting in double rendering.

The native implementation may implicitely cancel the rAF on the inline session, but that doesn't technically seem right. The webxr-polyfill does not do this.

This update cancels the inline rAF before starting the immersive rAF.

@himorin himorin changed the base branch from master to main January 15, 2021 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant