-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix VREffect stereo rendering for Safari/Edge (fixes #8329) #8330
Conversation
|
||
if ( vrHMD && deprecatedAPI ) { | ||
fullscreenchange = 'fullscreenchange'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest Firefox Nightly builds support unprefixed Fullscreen API, so this gets rid of deprecation warnings
} | ||
|
||
if ( !deprecatedAPI ) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curly brackets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I like that style. but I didn't see that usage elsewhere. mr.doob style rulez.
|
||
} | ||
|
||
}, false ); | ||
|
||
if ( !fullscreenchange ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would do if ( fullscreenchange === undefined ) {
here to be more clear.
I'm going to proper polyfill the new WebVR API v1.0 events in |
Sounds good! |
closing as no longer needed - thanks to webvr-polyfill changes |
No description provided.