Skip to content
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

Closed
wants to merge 1 commit into from
Closed

fix VREffect stereo rendering for Safari/Edge (fixes #8329) #8330

wants to merge 1 commit into from

Conversation

cvan
Copy link
Contributor

@cvan cvan commented Mar 10, 2016

No description provided.


if ( vrHMD && deprecatedAPI ) {
fullscreenchange = 'fullscreenchange';
Copy link
Contributor Author

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

@cvan
Copy link
Contributor Author

cvan commented Mar 10, 2016

/cc @toji @dmarcos

}

if ( !deprecatedAPI ) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curly brackets?

Copy link
Contributor Author

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 ) {
Copy link
Owner

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.

@cvan
Copy link
Contributor Author

cvan commented Mar 15, 2016

I'm going to proper polyfill the new WebVR API v1.0 events in webvr-polyfill so I'll be able to remove a lot of the cruft in this patch after that. see immersive-web/webvr-polyfill#40

@mrdoob
Copy link
Owner

mrdoob commented Mar 16, 2016

Sounds good!

@cvan
Copy link
Contributor Author

cvan commented Apr 8, 2016

closing as no longer needed - thanks to webvr-polyfill changes

@cvan cvan closed this Apr 8, 2016
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.

3 participants