Explorar o código

WebVR: Removed unnecessary WebXR check.

Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
1d4da64819
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/vr/WebVR.js

+ 1 - 1
examples/js/vr/WebVR.js

@@ -169,7 +169,7 @@ THREE.WEBVR = {
 
 		}
 
-		if ( 'xr' in navigator && 'isSessionSupported' in navigator.xr ) {
+		if ( 'xr' in navigator ) {
 
 			var button = document.createElement( 'button' );
 			button.style.display = 'none';