Skip to content

Commit

Permalink
Restore Pico immersive resolution (#3299)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed Apr 30, 2020
1 parent db2cadb commit 2999129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/picovr/cpp/DeviceDelegatePicoVR.cpp
Expand Up @@ -308,7 +308,8 @@ DeviceDelegatePicoVR::RegisterImmersiveDisplay(ImmersiveDisplayPtr aDisplay) {
m.immersiveDisplay->SetSittingToStandingTransform(vrb::Matrix::Translation(kAverageHeight));
}
m.immersiveDisplay->SetCapabilityFlags(flags);
m.immersiveDisplay->SetEyeResolution(m.renderWidth / 2, m.renderHeight / 2);
const float scale = 1.0f;
m.immersiveDisplay->SetEyeResolution(int(m.renderWidth * scale), int(m.renderHeight * scale));
m.immersiveDisplay->CompleteEnumeration();
}

Expand Down

0 comments on commit 2999129

Please sign in to comment.