Function mini_gl_fb::gotta_go_fast[][src]

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

Creates a non resizable window and framebuffer with a given size in pixels.

Please note that the window size is in logical device pixels, so on a high DPI monitor the physical window size may be larger. In this case, the rendered buffer will be scaled it automatically by OpenGL.