mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
Update glium to 0.19.
This commit is contained in:
parent
a74a6c05f2
commit
822ed103f8
@ -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" }
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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"] }
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user