        .with(d2, "D2", &[]);
    world.add_resource(EventChannel::<winit::Event>::new());
    render::init::<ImageTarget>(&mut world, &mut dispatcher, dimensions, "D3", "D2");
    let mut dispatcher = dispatcher.build();

    dispatcher.run_now(&mut world.res);
    world.maintain();