aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-12-24 08:23:20 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-12-24 08:23:20 +0100
commit4bcdbce22259bbd247ef8ddc4573344256002086 (patch)
tree200e6aa69df269df41ece6611d7d6a60d2eb1256 /src/x11
parent032c282b8ef18040c9ec5e8a2356820df031ef8b (diff)
parent7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae (diff)
downloadglutin-4bcdbce22259bbd247ef8ddc4573344256002086.tar.gz
glutin-4bcdbce22259bbd247ef8ddc4573344256002086.zip
Merge pull request #171 from tomaka/update-gl-generator
Update for gl_generator's changes
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/ffi.rs17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index 1f8b10f..5610eee 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -8,25 +8,12 @@ use libc;
/// GLX bindings
pub mod glx {
- generate_gl_bindings! {
- api: "glx",
- profile: "core",
- version: "1.4",
- generator: "static"
- }
+ include!(concat!(env!("OUT_DIR"), "/glx_bindings.rs"));
}
/// Functions that are not necessarly always available
pub mod glx_extra {
- generate_gl_bindings! {
- api: "glx",
- profile: "core",
- version: "1.4",
- generator: "struct",
- extensions: [
- "GLX_ARB_create_context"
- ]
- }
+ include!(concat!(env!("OUT_DIR"), "/glx_extra_bindings.rs"));
}
pub type Atom = libc::c_ulong;