Update glium to 0.19.

This commit is contained in:
O01eg 2017-12-12 15:03:16 +03:00
parent a74a6c05f2
commit 822ed103f8
No known key found for this signature in database
GPG Key ID: D1A94F2400FBC7E5
5 changed files with 7 additions and 7 deletions

View File

@ -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" }

View File

@ -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,

View File

@ -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,

View File

@ -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"] }

View File

@ -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]