summaryrefslogtreecommitdiffstats
path: root/glutin/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2022-09-28 19:10:47 -0300
committerLibravatar bungoboingo <shankern@protonmail.com>2023-01-09 11:27:04 -0800
commita386788b67bf4e008916e79a8c7dd7289a3ab3cd (patch)
tree3822c5b7044c66dac1f6579c5eafe7443d8e8fbe /glutin/src/application.rs
parentce43514eaca0e892ad2f646a63fc29af2150d79c (diff)
downloadiced-a386788b67bf4e008916e79a8c7dd7289a3ab3cd.tar.gz
iced-a386788b67bf4e008916e79a8c7dd7289a3ab3cd.tar.bz2
iced-a386788b67bf4e008916e79a8c7dd7289a3ab3cd.zip
use `glutin/multi_window` branch
Diffstat (limited to '')
-rw-r--r--glutin/src/application.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs
index 108d7ffa..7ff6216e 100644
--- a/glutin/src/application.rs
+++ b/glutin/src/application.rs
@@ -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();