Skip to content

Commit

Permalink
chore: fix unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-bon authored and rparrett committed Dec 3, 2024
1 parent f7fd017 commit 17ff958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ fn prepare_material_tilemap<M: MaterialTilemap>(
pub fn queue_material_tilemap_meshes<M: MaterialTilemap>(
chunk_storage: Res<RenderChunk2dStorage>,
transparent_2d_draw_functions: Res<DrawFunctions<Transparent2d>>,
render_device: Res<RenderDevice>,
_render_device: Res<RenderDevice>,
(material_tilemap_pipeline, mut material_pipelines): (
Res<MaterialTilemapPipeline<M>>,
ResMut<SpecializedRenderPipelines<MaterialTilemapPipeline<M>>>,
Expand All @@ -415,7 +415,7 @@ pub fn queue_material_tilemap_meshes<M: MaterialTilemap>(
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;
Expand Down

0 comments on commit 17ff958

Please sign in to comment.