diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-12-24 08:23:20 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-12-24 08:23:20 +0100 |
commit | 4bcdbce22259bbd247ef8ddc4573344256002086 (patch) | |
tree | 200e6aa69df269df41ece6611d7d6a60d2eb1256 /examples/support/mod.rs | |
parent | 032c282b8ef18040c9ec5e8a2356820df031ef8b (diff) | |
parent | 7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae (diff) | |
download | glutin-4bcdbce22259bbd247ef8ddc4573344256002086.tar.gz glutin-4bcdbce22259bbd247ef8ddc4573344256002086.zip |
Merge pull request #171 from tomaka/update-gl-generator
Update for gl_generator's changes
Diffstat (limited to 'examples/support/mod.rs')
-rw-r--r-- | examples/support/mod.rs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/examples/support/mod.rs b/examples/support/mod.rs index eb27d23..6904653 100644 --- a/examples/support/mod.rs +++ b/examples/support/mod.rs @@ -7,23 +7,13 @@ use glutin; #[cfg(not(target_os = "android"))] mod gl { - generate_gl_bindings! { - api: "gl", - profile: "core", - version: "1.1", - generator: "struct" - } + include!(concat!(env!("OUT_DIR"), "/test_gl_bindings.rs")); } #[cfg(target_os = "android")] mod gl { pub use self::Gles1 as Gl; - generate_gl_bindings! { - api: "gles1", - profile: "core", - version: "1.1", - generator: "struct" - } + include!(concat!(env!("OUT_DIR"), "/test_gles1_bindings.rs")); } pub struct Context { |