Manishearth · GitHub

Conversation

Closed

@Manishearth

@Manishearth

@Manishearth Manishearth changed the title Unset xrCompatible flags on session shutdown Don't check XR compat flag for inline sessions

Jun 17, 2019
1. If |session|'s [=ended=] value is <code>true</code>, throw an {{InvalidStateError}} and abort these steps.
1. If |context| is lost, throw an {{InvalidStateError}} and abort these steps.
1. If |context|'s [=XR compatible=] boolean is false, throw an {{InvalidStateError}} and abort these steps.
1. If |context|'s [=XR compatible=] boolean is false and |session|'s [=XRSession/mode=] is not {{XRSessionMode/"inline"}}, throw an {{InvalidStateError}} and abort these steps.

@Manishearth

@Manishearth

toji

toji approved these changes Jun 17, 2019

@toji

@toji toji mentioned this pull request

Jun 24, 2019

Closed

@Manishearth

Labels

None yet

Read the original on github.com ↗