summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration_opengl/src')
-rw-r--r--examples/integration_opengl/src/main.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/integration_opengl/src/main.rs b/examples/integration_opengl/src/main.rs
index f161c8a0..fdbd7369 100644
--- a/examples/integration_opengl/src/main.rs
+++ b/examples/integration_opengl/src/main.rs
@@ -13,6 +13,7 @@ use iced_glow::{Backend, Renderer, Settings, Viewport};
use iced_glutin::conversion;
use iced_glutin::glutin;
use iced_glutin::renderer;
+use iced_glutin::window;
use iced_glutin::{program, Clipboard, Color, Debug, Size};
pub fn main() {
@@ -30,7 +31,8 @@ pub fn main() {
.unwrap();
unsafe {
- let windowed_context = windowed_context.make_current().unwrap();
+ let windowed_context =
+ windowed_context.make_current(todo!("derezzedex")).unwrap();
let gl = glow::Context::from_loader_function(|s| {
windowed_context.get_proc_address(s) as *const _
@@ -107,6 +109,7 @@ pub fn main() {
// Map window event to iced event
if let Some(event) = iced_winit::conversion::window_event(
+ window::Id::MAIN,
&event,
windowed_context.window().scale_factor(),
modifiers,
@@ -179,7 +182,7 @@ pub fn main() {
),
);
- windowed_context.swap_buffers().unwrap();
+ windowed_context.swap_buffers(todo!("derezzedex")).unwrap();
}
_ => (),
}