Skip to content

Commit

Permalink
Update glium to 0.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
o01eg committed Dec 12, 2017
1 parent a74a6c0 commit 822ed10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions imgui-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ publish = false

[dev-dependencies]
gfx = "0.16"
gfx_window_glutin = "0.18"
glium = { version = "0.18", default-features = true }
glutin = "0.10"
gfx_window_glutin = "0.19"
glium = { version = "0.19", default-features = true }
glutin = "0.11"
imgui = { version = "0.0.18-pre", path = "../" }
imgui-gfx-renderer = { version = "0.0.18-pre", path = "../imgui-gfx-renderer" }
imgui-glium-renderer = { version = "0.0.18-pre", path = "../imgui-glium-renderer" }
Expand Down
2 changes: 1 addition & 1 deletion imgui-examples/examples/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn run<F: FnMut(&Ui) -> bool>(title: String, clear_color: [f32; 4], mut run_
_ => {}
}
}
MouseMoved { position: (x, y), .. } => mouse_state.pos = (x as i32, y as i32),
CursorMoved { position: (x, y), .. } => mouse_state.pos = (x as i32, y as i32),
MouseInput { state, button, .. } => {
match button {
MouseButton::Left => mouse_state.pressed.0 = state == Pressed,
Expand Down
2 changes: 1 addition & 1 deletion imgui-examples/examples/support_gfx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn run<F: FnMut(&Ui) -> bool>(title: String, clear_color: [f32; 4], mut run_
_ => {}
}
}
MouseMoved { position: (x, y), .. } => mouse_state.pos = (x as i32, y as i32),
CursorMoved { position: (x, y), .. } => mouse_state.pos = (x as i32, y as i32),
MouseInput { state, button, .. } => {
match button {
MouseButton::Left => mouse_state.pressed.0 = state == Pressed,
Expand Down
2 changes: 1 addition & 1 deletion imgui-glium-renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ categories = ["gui", "rendering"]
travis-ci = { repository = "Gekkio/imgui-rs" }

[dependencies]
glium = { version = "0.18", default-features = false }
glium = { version = "0.19", default-features = false }
imgui = { version = "0.0.18-pre", path = "../" }
imgui-sys = { version = "0.0.18-pre", path = "../imgui-sys", features = ["glium"] }
2 changes: 1 addition & 1 deletion imgui-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ travis-ci = { repository = "Gekkio/imgui-rs" }

[dependencies]
bitflags = "1.0"
glium = { version = "0.18", default-features = false, optional = true }
glium = { version = "0.19", default-features = false, optional = true }
gfx = { version = "0.16", optional = true }

[build-dependencies]
Expand Down

0 comments on commit 822ed10

Please sign in to comment.