Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Created July 21, 2018 20:18
Embed
What would you like to do?
let mut device;
let mut factory;
panic::catch_unwind(|| {
let (d, f) = gfx_device_gl::create(epoxy::get_proc_addr);
device = d;
factory = f;
}).ok();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment