use glutin/multi_window branch

This commit is contained in:
Richard 2022-09-28 19:10:47 -03:00 committed by bungoboingo
parent ce43514eac
commit a386788b67
4 changed files with 29 additions and 23 deletions

View file

@ -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();