update to gfx 0.13
This commit is contained in:
@@ -11,7 +11,7 @@ use std::collections::BTreeMap;
|
||||
use std::marker::PhantomData;
|
||||
use std::time::SystemTime;
|
||||
|
||||
use gfx::{self, tex};
|
||||
use gfx::{self, texture};
|
||||
use gfx::traits::FactoryExt;
|
||||
use na::{self, ToHomogeneous};
|
||||
use num_traits::identities::One;
|
||||
@@ -164,8 +164,8 @@ impl<D: gfx::Device, F: gfx::Factory<D::Resources>> WorldScene<D, F> {
|
||||
constants_dirty: true,
|
||||
locals: factory.create_constant_buffer(1),
|
||||
atlas: tile::get_tiles::<_, _, view::ColorFormat>(device, factory, aux_command),
|
||||
sampler: factory.create_sampler(tex::SamplerInfo::new(tex::FilterMethod::Jrd,
|
||||
tex::WrapMode::Tile)),
|
||||
sampler: factory.create_sampler(texture::SamplerInfo::new(texture::FilterMethod::Jrd,
|
||||
texture::WrapMode::Tile)),
|
||||
f: PhantomData,
|
||||
|
||||
vbuf: vertex_buffer,
|
||||
|
||||
Reference in New Issue
Block a user