From 7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 24 Dec 2014 08:09:16 +0100 Subject: Update for gl_generator's changes --- examples/support/mod.rs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'examples') 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 { -- cgit v1.2.3