mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
examples: Update to glutin 0.29
This commit is contained in:
parent
7a9537c0fd
commit
9018d1e3ac
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ byte-slice-cast = "1"
|
|||
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"], optional = true }
|
||||
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
||||
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
|
||||
glutin = { version = "0.28", optional = true }
|
||||
glutin = { version = "0.29", optional = true }
|
||||
once_cell = "1.0"
|
||||
image = { version = "0.24", optional = true }
|
||||
memmap2 = { version = "0.5", optional = true }
|
||||
|
|
|
@ -335,7 +335,7 @@ impl App {
|
|||
.bus()
|
||||
.expect("Pipeline without bus. Shouldn't happen!");
|
||||
|
||||
let event_loop = glutin::event_loop::EventLoop::with_user_event();
|
||||
let event_loop = glutin::event_loop::EventLoopBuilder::with_user_event().build();
|
||||
let window = glutin::window::WindowBuilder::new().with_title("GL rendering");
|
||||
let windowed_context = glutin::ContextBuilder::new()
|
||||
.with_vsync(true)
|
||||
|
|
Loading…
Reference in a new issue