From d54784a0e0cdfd707b5763868f2eec780009d8b9 Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Tue, 13 Nov 2018 19:40:18 +0000
Subject: [PATCH] COmment

---
 src/hub.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/hub.js b/src/hub.js
index a0de8cd65..3f636339b 100644
--- a/src/hub.js
+++ b/src/hub.js
@@ -390,8 +390,9 @@ document.addEventListener("DOMContentLoaded", async () => {
     remountUI({ availableVREntryTypes, forcedVREntryType: "vr" });
 
     if (AFRAME.utils.device.getVRDisplay().displayName.indexOf("Cardboard") >= 0) {
-      // HACK - Oculus Go sometimes reports Cardboard as the primary VR display on startup
-      // and that is cached by A-Frame, so we need to resolve that before entering as well.
+      // HACK - The polyfill reports Cardboard as the primary VR display on startup
+      // out ahead of Oculus Go on Oculus Browser 5.5.0. This display is cached by A-Frame,
+      // so we need to resolve that and get the real VRDisplay before entering as well.
       const displays = await navigator.getVRDisplays();
       const vrDisplay = displays.length && displays[0];
       AFRAME.utils.device.getVRDisplay = () => vrDisplay;
-- 
GitLab