summaryrefslogtreecommitdiff
path: root/engine/src/rendering/backend
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-23 17:40:15 +0200
committerHampusM <hampus@hampusmat.com>2026-07-23 17:40:15 +0200
commita34c019279661332f95d5d843924998c2eaecb17 (patch)
tree615614597f4be3a13d6b8b83dcb5dae8c63d8ab6 /engine/src/rendering/backend
parent624e6dd450944e67d84ad7afda54ae2abd277aba (diff)
refactor(engine): correct query type parameters
Diffstat (limited to 'engine/src/rendering/backend')
-rw-r--r--engine/src/rendering/backend/opengl.rs6
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>,