aboutsummaryrefslogtreecommitdiffstats
path: root/examples/support
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-12-24 08:09:16 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-12-24 08:12:10 +0100
commit7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae (patch)
tree200e6aa69df269df41ece6611d7d6a60d2eb1256 /examples/support
parenta04668e850b1667b58467eec73bf3c0e0fbe93a1 (diff)
downloadglutin-7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae.tar.gz
glutin-7f6f4f8d04b9f6dfbbc9528552fa45db932d6dae.zip
Update for gl_generator's changes
Diffstat (limited to 'examples/support')
-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 {