Skip to main content

glutin_window

Function glutin_window 

Source
pub fn glutin_window(window_title: &str) -> (EventLoop<()>, Window, Config)
Expand description

Creates a winit::event_loop::EventLoop, winit::window::Window, and a glutin::config::Config that can be moved or shared to another thread and used to create a glium::Display with glium_display