summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/storage/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/storage/config.cpp')
-rw-r--r--drivers/gles3/storage/config.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp
index 1200bf9626..5d01ab0346 100644
--- a/drivers/gles3/storage/config.cpp
+++ b/drivers/gles3/storage/config.cpp
@@ -99,8 +99,14 @@ Config::Config() {
msaa_supported = extensions.has("GL_EXT_framebuffer_multisample");
#endif
#ifndef IOS_ENABLED
+#ifdef WEB_ENABLED
+ msaa_multiview_supported = extensions.has("OCULUS_multiview");
+ rt_msaa_multiview_supported = msaa_multiview_supported;
+#else
msaa_multiview_supported = extensions.has("GL_EXT_multiview_texture_multisample");
- multiview_supported = extensions.has("GL_OVR_multiview2") || extensions.has("GL_OVR_multiview");
+#endif
+
+ multiview_supported = extensions.has("OCULUS_multiview") || extensions.has("GL_OVR_multiview2") || extensions.has("GL_OVR_multiview");
#endif
#ifdef ANDROID_ENABLED