aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 19349cd..9ea0ec0 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ extern crate gl;
fn main() {
use std::default::Default;
- let window = init::Window::new(None, "Hello world!", &Default::default(), None).unwrap();
+ let window = init::Window::new().unwrap();
unsafe { window.make_current() };