NO_VR env var for monitor only mode

This commit is contained in:
2016-10-13 01:46:47 -07:00
parent 381157c8e2
commit f2a645730c
4 changed files with 73 additions and 44 deletions

View File

@@ -10,7 +10,7 @@ pub trait Scene<D: gfx::Device,
F: gfx::Factory<D::Resources>> {
fn event(&mut self, event: Event);
fn update(&mut self,
vr: &mut vr::VR,
vr: &mut Option<vr::VR>, // TODO: abstract this out
encoder: &mut gfx::Encoder<D::Resources, D::CommandBuffer>);
fn render(&self,
factory: &mut F,