bitrot: replace bare traits object syntax with dyn traits
This commit is contained in:
@@ -68,7 +68,7 @@ impl ViewRoot<gfx_device_gl::Device, ColorFormat, DepthFormat> {
|
||||
pub fn draw(&self,
|
||||
window: &mut PistonWindow,
|
||||
vr: &mut Option<vr::VR>,
|
||||
scene: &::scene::Scene<gfx_device_gl::Device, gfx_device_gl::Factory>)
|
||||
scene: &dyn (::scene::Scene<gfx_device_gl::Device, gfx_device_gl::Factory>))
|
||||
-> Result<(), vr::Error>
|
||||
{
|
||||
if let &mut Some(ref mut vr) = vr {
|
||||
|
||||
Reference in New Issue
Block a user