Update README.md

This commit is contained in:
tomaka 2014-08-03 11:43:57 +02:00
parent 48632619c9
commit 3ea19e0fa2

View file

@ -19,8 +19,6 @@ extern crate libc;
extern crate gl;
fn main() {
use std::default::Default;
let window = init::Window::new().unwrap();
unsafe { window.make_current() };
@ -29,7 +27,7 @@ fn main() {
gl::ClearColor(0.0, 1.0, 0.0, 1.0);
while !window.should_close() {
while !window.is_closed() {
window.wait_events();
gl::Clear(gl::COLOR_BUFFER_BIT);