Skip to content

Commit

Permalink
Fix DRM format modifier image tiling to allocaion type convertion
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0246 committed Jul 8, 2023
1 parent c820c96 commit c39dd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulkano/src/memory/allocator/suballocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ impl From<ImageTiling> for AllocationType {
match tiling {
ImageTiling::Optimal => AllocationType::NonLinear,
ImageTiling::Linear => AllocationType::Linear,
ImageTiling::DrmFormatModifier => AllocationType::Linear, // TODO: improve
ImageTiling::DrmFormatModifier => AllocationType::Unknown,
}
}
}
Expand Down

0 comments on commit c39dd2c

Please sign in to comment.