Function mini_gl_fb::gotta_go_fast[][src]

pub fn gotta_go_fast<S: ToString>(
    window_title: S,
    window_width: f64,
    window_height: f64
) -> (EventLoop<()>, MiniGlFb)
Expand description

Creates a non-resizable window and framebuffer with a given size in logical pixels. On HiDPI screens, the physical size of the window may be larger or smaller than the provided values, but the buffer will be scaled to match.

This function also creates an event loop for you. If you would like to create your own event loop, you can use the get_fancy function directly.