1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Handle viewport commands in EguiGlow

This commit is contained in:
Emil Ernerfeldt
2023-11-12 11:45:36 +01:00
parent 111228bc4b
commit 2f53f7d6a7
2 changed files with 13 additions and 2 deletions

View File

@@ -989,7 +989,7 @@ fn translate_cursor(cursor_icon: egui::CursorIcon) -> Option<winit::window::Curs
// ---------------------------------------------------------------------------
pub fn process_viewport_commands(
commands: Vec<ViewportCommand>,
commands: impl IntoIterator<Item = ViewportCommand>,
window: &winit::window::Window,
is_viewport_focused: bool,
) {