Skip to content

Commit

Permalink
Remove unused CompareData from batching trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
komadori committed Nov 8, 2023
1 parent db3c563 commit 654ae30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ impl GetBatchData for OutlinePipeline {
type Param = ();
type Query = Read<ExtractedOutline>;
type QueryFilter = ();
type CompareData = AssetId<Mesh>;
type CompareData = ();
type BufferData = MeshUniform;

fn get_batch_data(
Expand All @@ -385,6 +385,6 @@ impl GetBatchData for OutlinePipeline {
previous_transform: (&outline.transform).into(),
flags: MeshFlags::NONE.bits(),
};
((&ts).into(), None /*Some(outline.mesh_id)*/)
((&ts).into(), None)
}
}

0 comments on commit 654ae30

Please sign in to comment.