use upscaled mipmaps for tiles

This commit is contained in:
2016-10-10 18:43:09 -07:00
parent 0275d01b96
commit 8eb9ab2d63
4 changed files with 96 additions and 19 deletions

View File

@@ -19,7 +19,11 @@ pub fn main() {
.vsync(false)
.build().expect("Building Window");
let mut scene = scenes::world::WorldScene::new(&mut window.factory, &mut window.encoder);
let mut aux_command = window.factory.create_command_buffer();
let mut scene = scenes::world::WorldScene::new(&mut window.device,
&mut window.factory,
&mut window.encoder,
&mut aux_command);
let view = view::ViewRoot::<gfx_device_gl::Device, view::ColorFormat, view::DepthFormat>
::create_view(&mut window, &mut vr);