mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
Add KHR to possible format suffixes (#2597)
This commit is contained in:
parent
0c74e34a18
commit
3f4de467be
@ -685,7 +685,7 @@ fn formats_members(
|
|||||||
|
|
||||||
let mut parts = vulkan_name.split('_').collect::<Vec<_>>();
|
let mut parts = vulkan_name.split('_').collect::<Vec<_>>();
|
||||||
|
|
||||||
if ["EXT", "IMG"].contains(parts.last().unwrap()) {
|
if ["KHR", "EXT", "IMG"].contains(parts.last().unwrap()) {
|
||||||
parts.pop();
|
parts.pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user