Update OpenVR from 1.8.19 -> 1.9.16 and remove Sync() calls
Release log: https://github.com/ValveSoftware/openvr/releases/tag/v1.9.16 ``` Removed sync function. Saving of settings is controlled automatically by the system now. All existing calls to Sync can be deleted. Calls to sync using old APIs do nothing. ```
This commit is contained in:
@@ -141,7 +141,6 @@ void installApplicationManifest( const std::string manifestPath )
|
||||
vr::VRApplications()->GetApplicationsErrorNameFromEnum(
|
||||
app_error ) ) );
|
||||
}
|
||||
vr::VRSettings()->Sync( true );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,7 +152,6 @@ void removeApplicationManifest( const std::string manifestPath )
|
||||
{
|
||||
vr::VRApplications()->RemoveApplicationManifest( manifestPath.c_str() );
|
||||
LOG( INFO ) << "Attempting to Remove Manifest At: " << manifestPath;
|
||||
vr::VRSettings()->Sync( true );
|
||||
}
|
||||
if ( vr::VRApplications()->IsApplicationInstalled(
|
||||
application_strings::applicationKey ) )
|
||||
@@ -270,8 +268,6 @@ void forceRemoveApplicationManifest()
|
||||
{
|
||||
throw std::runtime_error( "Could not find application manifest." );
|
||||
}
|
||||
// Keep Settings Clean
|
||||
vr::VRSettings()->Sync( true );
|
||||
if ( installManifest )
|
||||
{
|
||||
reinstallApplicationManifest( *manifestPath );
|
||||
|
||||
Reference in New Issue
Block a user