Move OpenVR init function out of Overlaycontroller

This prevents the issue of OpenVR not being initialized in constructors
of other objects, and there's really no reason not to do it.
This commit is contained in:
Vasily
2019-03-10 23:12:26 +01:00
committed by username223
parent 9f24099a93
commit 37e0366e9d
6 changed files with 52 additions and 47 deletions
+3
View File
@@ -37,6 +37,9 @@ int main( int argc, char* argv[] )
commandLineArgs.forceRemoveManifest );
}
openvr_init::OpenVR_Init openvr_init(
openvr_init::OpenVrInitializationType::Overlay );
try
{
// QSettings contains a platform independant way of storing settings in