Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
fix lint
  • Loading branch information
alexheretic committed Dec 2, 2021
1 parent 6da583b commit d24cd4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gfx-glyph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ log = "0.4"
[dev-dependencies]
env_logger = { version = "0.9", default-features = false }
approx = "0.5"
glutin = "0.27"
old_school_gfx_glutin_ext = "0.27"
glutin = "0.28"
old_school_gfx_glutin_ext = "0.28"
cgmath = "0.18"
spin_sleep = "1"
4 changes: 2 additions & 2 deletions gfx-glyph/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ where
pub(crate) fn draw<C, CV, DV>(
&mut self,
transform: [[f32; 4]; 4],
mut encoder: &mut gfx::Encoder<R, C>,
encoder: &mut gfx::Encoder<R, C>,
target: &CV,
depth_target: Option<&DV>,
) -> Result<(), String>
Expand All @@ -378,7 +378,7 @@ where
|rect, tex_data| {
let offset = [rect.min[0] as u16, rect.min[1] as u16];
let size = [rect.width() as u16, rect.height() as u16];
update_texture(&mut encoder, &tex, offset, size, tex_data);
update_texture(encoder, &tex, offset, size, tex_data);
},
to_vertex,
);
Expand Down
2 changes: 1 addition & 1 deletion glyph-brush/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ features = ["std"]
env_logger = { version = "0.9", default-features = false }
once_cell = "1.3"
gl = "0.14"
glutin = "0.27"
glutin = "0.28"
spin_sleep = "1"
approx = "0.5"
criterion = "0.3"
Expand Down

0 comments on commit d24cd4d

Please sign in to comment.