Rewrite cursor icon logic for integration_opengl example
This commit is contained in:
parent
9a3c81f336
commit
844fecd602
1 changed files with 5 additions and 6 deletions
|
|
@ -169,12 +169,11 @@ pub fn main() {
|
|||
});
|
||||
|
||||
// Update the mouse cursor
|
||||
// TODO
|
||||
// windowed_context.window().set_cursor_icon(
|
||||
// iced_winit::conversion::mouse_interaction(
|
||||
// mouse_interaction,
|
||||
// ),
|
||||
// );
|
||||
windowed_context.window().set_cursor_icon(
|
||||
iced_winit::conversion::mouse_interaction(
|
||||
state.mouse_interaction(),
|
||||
),
|
||||
);
|
||||
|
||||
windowed_context.swap_buffers().unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue