Skip to content

Commit 5710595

Browse files
committed
allow browser that only support multiview2
1 parent 082da25 commit 5710595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layers-samples/proj-multiview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112
webgl2: true
113113
});
114114

115-
return tempWebGLContext.getExtension('OCULUS_multiview') != null;
115+
return (tempWebGLContext.getExtension('OCULUS_multiview') != null) ||
116+
(tempWebGLContext.getExtension('OVR_multiview2') != null);
116117
}
117118

118119
function initGL() {

0 commit comments

Comments
 (0)