Warning fixes for OS X.
This commit is contained in:
parent
3e11e5ef69
commit
77b3743117
10 changed files with 17 additions and 19 deletions
|
|
@ -40,14 +40,14 @@ fn main() {
|
|||
.build()
|
||||
.unwrap();
|
||||
|
||||
unsafe { window.make_current() };
|
||||
let _ = unsafe { window.make_current() };
|
||||
|
||||
|
||||
let context = support::load(&window);
|
||||
|
||||
for event in window.wait_events() {
|
||||
context.draw_frame((0.0, 1.0, 0.0, 1.0));
|
||||
window.swap_buffers();
|
||||
let _ = window.swap_buffers();
|
||||
|
||||
println!("{:?}", event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue