Skip to content

Commit

Permalink
Bug 1742430 - Allow using WebXR without the old WebVR spec enabled. r…
Browse files Browse the repository at this point in the history
…=emilio

MANUAL PUSH: Contributor send patch not via Phabricator
  • Loading branch information
MortimerGoro authored and emilio committed Nov 22, 2021
1 parent 8f7f5f4 commit d3b2338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/vr/VRManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void VRManager::ProcessManagerState() {
void VRManager::ProcessManagerState_Disabled() {
MOZ_ASSERT(mState == VRManagerState::Disabled);

if (!StaticPrefs::dom_vr_enabled()) {
if (!StaticPrefs::dom_vr_enabled() && !StaticPrefs::dom_vr_webxr_enabled()) {
return;
}

Expand Down

0 comments on commit d3b2338

Please sign in to comment.