From 17ff958538c0431afb8e6d53fc4916ed3fb821b0 Mon Sep 17 00:00:00 2001 From: Adrien BON <63343541+adrien-bon@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:46:24 +0000 Subject: [PATCH] chore: fix unused var --- src/render/material.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render/material.rs b/src/render/material.rs index cd330cff..4a089c1c 100644 --- a/src/render/material.rs +++ b/src/render/material.rs @@ -391,7 +391,7 @@ fn prepare_material_tilemap( pub fn queue_material_tilemap_meshes( chunk_storage: Res, transparent_2d_draw_functions: Res>, - render_device: Res, + _render_device: Res, (material_tilemap_pipeline, mut material_pipelines): ( Res>, ResMut>>, @@ -415,7 +415,7 @@ pub fn queue_material_tilemap_meshes( M::Data: PartialEq + Eq + Hash + Clone, { #[cfg(not(feature = "atlas"))] - texture_array_cache.queue(&render_device, &render_queue, &gpu_images); + texture_array_cache.queue(&_render_device, &render_queue, &gpu_images); if standard_tilemap_meshes.is_empty() { return;