Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Set correct Oculus WebVR device name (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored Mar 20, 2019
1 parent 1ff1105 commit b1ba6ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,11 @@ DeviceDelegateOculusVR::RegisterImmersiveDisplay(ImmersiveDisplayPtr aDisplay) {
return;
}

m.immersiveDisplay->SetDeviceName("Oculus");
if (m.IsOculusQuest()) {
m.immersiveDisplay->SetDeviceName("Oculus Quest");
} else {
m.immersiveDisplay->SetDeviceName("Oculus Go");
}
uint32_t width, height;
m.GetImmersiveRenderSize(width, height);
m.immersiveDisplay->SetEyeResolution(width, height);
Expand Down

0 comments on commit b1ba6ae

Please sign in to comment.