diff options
Diffstat (limited to 'engine/src/rendering/backend/opengl.rs')
| -rw-r--r-- | engine/src/rendering/backend/opengl.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/src/rendering/backend/opengl.rs b/engine/src/rendering/backend/opengl.rs index bab916a..1253c7b 100644 --- a/engine/src/rendering/backend/opengl.rs +++ b/engine/src/rendering/backend/opengl.rs @@ -188,8 +188,9 @@ impl crate::ecs::extension::Extension for Extension fn prepare_windows( window_query: Query< - (Option<&Window>, &mut WindowCreationAttributes), ( + Option<&Window>, + &mut WindowCreationAttributes, With<TargetWindow>, Without<CreationReady>, Without<WindowGlConfig>, @@ -272,8 +273,7 @@ fn prepare_windows( #[tracing::instrument(skip_all)] fn init_window_graphics( window_query: Query< - (&Window, &WindowGlConfig), - (With<TargetWindow>, Without<SurfaceSpec>), + (&Window, &WindowGlConfig, With<TargetWindow>, Without<SurfaceSpec>), >, windowing_context: Single<WindowingContext>, graphics_props: Single<GraphicsProperties>, |
