aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/ffi.rs')
-rw-r--r--src/x11/ffi.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index f6a0a3b..822f755 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -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"
]
}
}