From 4f068467c4954fb79e6ce297ae1ac0fdd2bdf16a Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:24 +0100 Subject: WIP refactor(skeleton): type state for context also some api improvements closes #2 related: #7 --- stockton-render/src/window.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'stockton-render/src/window.rs') diff --git a/stockton-render/src/window.rs b/stockton-render/src/window.rs index e6cf7fb..429a3c2 100644 --- a/stockton-render/src/window.rs +++ b/stockton-render/src/window.rs @@ -216,7 +216,7 @@ impl WindowFlow { #[system] /// A system to process the window events sent to renderer by the winit event loop. -pub fn _process_window_events>( +pub fn _process_window_events( #[resource] window_channel: &mut WindowFlow, #[resource] manager: &mut T, #[resource] mouse: &mut Mouse, @@ -273,7 +273,6 @@ pub fn _process_window_events>( -) -> impl Runnable { - _process_window_events_system::(Vec::with_capacity(4)) +pub fn process_window_events_system() -> impl Runnable { + _process_window_events_system::(Vec::with_capacity(4)) } -- cgit v1.2.3