Skip to content

Instantly share code, notes, and snippets.

Forked from Yatekii/
Last active July 21, 2018 20:26
What would you like to do?
let (device, factory) =
if let Ok((d, f)) = panic::catch_unwind(|| { gfx_device_gl::create(epoxy::get_proc_addr) }) {
(d, f)
} else {
return "ERROR";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment