Update for rustc and gl-rs

This commit is contained in:
Tomaka17 2014-10-22 08:04:13 +02:00
parent 0d0c14e6ec
commit 2ff393fe62
8 changed files with 49 additions and 34 deletions

View file

@ -9,22 +9,22 @@ use libc;
/// GLX bindings
pub mod glx {
generate_gl_bindings! {
api: glx,
profile: core,
version: 1.4,
generator: static
api: "glx",
profile: "core",
version: "1.4",
generator: "static"
}
}
/// Functions that are not necessarly always available
pub mod glx_extra {
generate_gl_bindings! {
api: glx,
profile: core,
version: 1.4,
generator: struct,
api: "glx",
profile: "core",
version: "1.4",
generator: "struct",
extensions: [
GLX_ARB_create_context
"GLX_ARB_create_context"
]
}
}