bitrot: replace bare traits object syntax with dyn traits

This commit is contained in:
2021-02-04 06:24:35 -08:00
parent dea54e4883
commit 9dd48d359c
6 changed files with 13 additions and 13 deletions

View File

@@ -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 {