Create reorganization
This commit is contained in:
parent
c1af76550f
commit
3ad7f9a584
27 changed files with 42 additions and 15 deletions
19
src/api/x11/ffi.rs
Normal file
19
src/api/x11/ffi.rs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#[cfg(feature="headless")]
|
||||
pub use osmesa_sys::*;
|
||||
pub use x11::keysym::*;
|
||||
pub use x11::xcursor::*;
|
||||
pub use x11::xf86vmode::*;
|
||||
pub use x11::xlib::*;
|
||||
pub use x11::xlib::xkb::*;
|
||||
|
||||
pub use self::glx::types::GLXContext;
|
||||
|
||||
/// GLX bindings
|
||||
pub mod glx {
|
||||
include!(concat!(env!("OUT_DIR"), "/glx_bindings.rs"));
|
||||
}
|
||||
|
||||
/// Functions that are not necessarly always available
|
||||
pub mod glx_extra {
|
||||
include!(concat!(env!("OUT_DIR"), "/glx_extra_bindings.rs"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue