Update for rustc and gl-rs
This commit is contained in:
parent
0d0c14e6ec
commit
2ff393fe62
8 changed files with 49 additions and 34 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue