aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/support/mod.rs14
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 {