Skip to content

Commit

Permalink
Merge pull request #2619 from edwloef/master
Browse files Browse the repository at this point in the history
Derive `Default` for `iced_wgpu::geometry::Cache`
  • Loading branch information
hecrj authored Oct 2, 2024
2 parents e504e35 + a5c42d4 commit 40abed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub enum Geometry {
Cached(Cache),
}

#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default)]
pub struct Cache {
pub meshes: Option<triangle::Cache>,
pub images: Option<Arc<[Image]>>,
Expand Down

0 comments on commit 40abed6

Please sign in to comment.