should_close() renamed to is_closed()
This commit is contained in:
parent
1249ebed80
commit
6d9c5eb2bd
4 changed files with 19 additions and 12 deletions
|
|
@ -20,7 +20,7 @@ fn main() {
|
|||
|
||||
gl::ClearColor(0.0, 1.0, 0.0, 1.0);
|
||||
|
||||
while !window.should_close() {
|
||||
while !window.is_closed() {
|
||||
println!("{}", window.wait_events());
|
||||
|
||||
gl::Clear(gl::COLOR_BUFFER_BIT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue