diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-22 08:04:13 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-22 11:23:21 +0200 |
commit | 2ff393fe623d10f2ea89262013ba66e228cc0c94 (patch) | |
tree | 0c44986d2c2db6a27dee94a3a9c9d6a8385ec9c6 /examples | |
parent | 0d0c14e6ecc3137fd1d12c389e03e6f312f1f207 (diff) | |
download | glutin-2ff393fe623d10f2ea89262013ba66e228cc0c94.tar.gz glutin-2ff393fe623d10f2ea89262013ba66e228cc0c94.zip |
Update for rustc and gl-rs
Diffstat (limited to 'examples')
-rw-r--r-- | examples/support/mod.rs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/examples/support/mod.rs b/examples/support/mod.rs index f27c4e7..12aa68c 100644 --- a/examples/support/mod.rs +++ b/examples/support/mod.rs @@ -7,13 +7,23 @@ use glutin; #[cfg(not(target_os = "android"))] mod gl { - generate_gl_bindings!("gl", "core", "1.1", "struct") + generate_gl_bindings! { + api: "gl", + profile: "core", + version: "1.1", + generator: "struct" + } } #[cfg(target_os = "android")] mod gl { pub use self::Gles1 as Gl; - generate_gl_bindings!("gles1", "core", "1.1", "struct") + generate_gl_bindings! { + api: "gles1", + profile: "core", + version: "1.1", + generator: "struct" + } } pub struct Context { |