aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multiwindow.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-08-07 22:55:54 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-08-07 22:55:54 +0200
commite90f377b9fbab23a140029e71ef57933b266c473 (patch)
treed2bed381d044db5412dbf965c8a4ae17585ff391 /examples/multiwindow.rs
parent90e62083d686ed9c878beb348e9b54853242eab0 (diff)
parent9261408cc8d2ba54ddea0c9ddd43560e03d45bdc (diff)
downloadglutin-e90f377b9fbab23a140029e71ef57933b266c473.tar.gz
glutin-e90f377b9fbab23a140029e71ef57933b266c473.zip
Merge pull request #565 from tomaka/correct-example
Use modern GL code for the examples
Diffstat (limited to 'examples/multiwindow.rs')
-rw-r--r--examples/multiwindow.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index 074fe14..18299f8 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -16,9 +16,9 @@ fn main() { println!("This example requires glutin to be compiled with the `wind
#[cfg(feature = "window")]
fn main() {
- let window1 = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap();
- let window2 = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap();
- let window3 = glutin::WindowBuilder::new().with_gl_profile(glutin::GlProfile::Compatibility).build().unwrap();
+ let window1 = glutin::WindowBuilder::new().build().unwrap();
+ let window2 = glutin::WindowBuilder::new().build().unwrap();
+ let window3 = glutin::WindowBuilder::new().build().unwrap();
let t1 = thread::spawn(move || {
run(window1, (0.0, 1.0, 0.0, 1.0));