2
0
Эх сурвалжийг харах

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

samirah 7 жил өмнө
parent
commit
b37222e8b6

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

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