/// Builds a context with dummy OpenGL functions.
Builds a context with dummy OpenGL functions.
Builds a context with dummy OpenGL functions .
pub fn build_context() -> Rc<glium::backend::Context> {
    unsafe {
        glium::backend::Context::new::<_>(DummyBackend, false, Default::default()).unwrap()
    }
}
pub fn build_context ( ) -> Rc < glium :: backend :: Context > { unsafe { glium :: backend :: Context :: new :: < _ > ( DummyBackend , false , Default :: default ( ) ) . unwrap ( ) } }
Builds a context with dummy OpenGL functions.
Builds a context with dummy OpenGL functions .