use glutin/multi_window branch
This commit is contained in:
parent
ce43514eac
commit
a386788b67
4 changed files with 29 additions and 23 deletions
|
|
@ -120,7 +120,7 @@ where
|
|||
|
||||
#[allow(unsafe_code)]
|
||||
unsafe {
|
||||
context.make_current().expect("Make OpenGL context current")
|
||||
context.make_current(todo!()).expect("Make OpenGL context current")
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -359,7 +359,7 @@ async fn run_instance<A, E, C>(
|
|||
unsafe {
|
||||
if !context.is_current() {
|
||||
context = context
|
||||
.make_current()
|
||||
.make_current(todo!())
|
||||
.expect("Make OpenGL context current");
|
||||
}
|
||||
}
|
||||
|
|
@ -415,7 +415,7 @@ async fn run_instance<A, E, C>(
|
|||
&debug.overlay(),
|
||||
);
|
||||
|
||||
context.swap_buffers().expect("Swap buffers");
|
||||
context.swap_buffers(todo!()).expect("Swap buffers");
|
||||
|
||||
debug.render_finished();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue