Skip to content

Commit

Permalink
exception when steamvr not present
Browse files Browse the repository at this point in the history
  • Loading branch information
kwahoo2 committed Nov 29, 2019
1 parent 28d437e commit 8f2a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/CoinOpenVRWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ CoinOpenVRWidget::CoinOpenVRWidget() : QOpenGLWidget()
if (eError != vr::VRInitError_None){
m_pHMD = nullptr;
qDebug() << "Unable to init VR runtime:" << vr::VR_GetVRInitErrorAsEnglishDescription( eError );
throw;
throw std::runtime_error("Unable to init VR runtime");
}
// Configure stereo settings.
uint32_t flatScale = 2;
Expand Down

0 comments on commit 8f2a7dd

Please sign in to comment.