فهرست منبع

In the vr samples, handle rejection of getVRDisplays for the case when the API is available but WebVR is not supported

samirah 7 سال پیش
والد
کامیت
b37222e8b6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/js/vr/WebVR.js

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

@@ -191,7 +191,7 @@ var WEBVR = {
 
 					}
 
-				} );
+				} ).catch( showVRNotFound );
 
 			return button;