From ae41a150b5c3b336c6dfd856acd0e5a94eb5452d Mon Sep 17 00:00:00 2001 From: Colin Sherratt Date: Fri, 26 Sep 2014 02:30:03 -0400 Subject: [PATCH] Make ToTexture public --- Cargo.toml | 6 +++--- src/oculus-vr/lib.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d0c6997..f895407 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,13 +3,13 @@ name = "ovr" version = "0.1.0" authors = [ - "Colin Sherratt", - "Erick Tryzelaar" + "Colin Sherratt", + "Erick Tryzelaar" ] build = "./scripts/compile-for-cargo" -[[lib]] +[lib] name = "ovr" path = "src/oculus-vr/lib.rs" diff --git a/src/oculus-vr/lib.rs b/src/oculus-vr/lib.rs index 7ddd7dc..e14d931 100644 --- a/src/oculus-vr/lib.rs +++ b/src/oculus-vr/lib.rs @@ -1047,7 +1047,7 @@ impl FrameTiming { } } -trait ToTexture { +pub trait ToTexture { fn to_texture(&self) -> ll::Texture; }