1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![cfg(any(target_os = "windows"))] /// WGL bindings pub mod wgl { include!(concat!(env!("OUT_DIR"), "/wgl_bindings.rs")); } /// Functions that are not necessarily always available pub mod wgl_extra { include!(concat!(env!("OUT_DIR"), "/wgl_extra_bindings.rs")); } #[link(name = "opengl32")] extern "C" {}