diff --git a/Cargo.toml b/Cargo.toml index 5d562b3..9ed51ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gfx_glyph" -version = "0.7.0" +version = "0.8.0" authors = ["Alex Butler "] description = "Fast GPU cached text rendering using gfx-rs & rusttype" repository = "https://github.com/alexheretic/gfx-glyph" @@ -12,8 +12,8 @@ readme="README.md" [dependencies] log = "0.4" rusttype = "0.3" -gfx = "0.16" -gfx_core = "0.7" +gfx = "0.17" +gfx_core = "0.8" unicode-normalization = "0.1" ordered-float = "0.5" xi-unicode = "0.1" @@ -23,8 +23,8 @@ backtrace = "0.3" [dev-dependencies] env_logger = "0.5.0-rc.1" approx = "0.1" -gfx_window_glutin = "0.19" -glutin = "0.11" +gfx_window_glutin = "0.20" +glutin = "0.12" time = "0.1" cgmath = "0.15" spin_sleep = "0.3" diff --git a/src/lib.rs b/src/lib.rs index f98b344..5ac0c7c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -792,7 +792,7 @@ where let tex = factory.create_texture( kind, 1 as texture::Level, - gfx::memory::SHADER_RESOURCE, + gfx::memory::Bind::SHADER_RESOURCE, gfx::memory::Usage::Dynamic, Some(::get_channel_type()), )?;