From f40786931e3843cec3f93e618af7867d8cc1c1f2 Mon Sep 17 00:00:00 2001 From: Jared Burce Date: Tue, 14 Aug 2018 15:25:44 -0700 Subject: [PATCH] Return local error type on VR init --- src/vr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vr.rs b/src/vr.rs index 05a50c7..ae1b062 100644 --- a/src/vr.rs +++ b/src/vr.rs @@ -47,7 +47,7 @@ impl From for Error { } impl VR { - pub fn new() -> Result { + pub fn new() -> Result { let context = unsafe { vr::init(vr::ApplicationType::Scene)? }; Ok(VR { system: context.system()?,