mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
Fix vertex_attr_macro self invocation paths
This commit is contained in:
1 parent
cdb6d0d390
commit
9f129baef3
1 file changed
+2
-2
+2
-2
@@ -13,11 +13,11 @@
|
||||
#[macro_export]
|
||||
macro_rules! vertex_attr_array {
|
||||
($($loc:expr => $fmt:ident),*) => {
|
||||
vertex_attr_array!([] ; 0; $($loc => $fmt ,)*)
|
||||
$crate::vertex_attr_array!([] ; 0; $($loc => $fmt ,)*)
|
||||
};
|
||||
([$($t:expr,)*] ; $off:expr ;) => { [$($t,)*] };
|
||||
([$($t:expr,)*] ; $off:expr ; $loc:expr => $item:ident, $($ll:expr => $ii:ident ,)*) => {
|
||||
vertex_attr_array!(
|
||||
$crate::vertex_attr_array!(
|
||||
[$($t,)*
|
||||
$crate::VertexAttributeDescriptor {
|
||||
format: $crate::VertexFormat :: $item,
|
||||
|
||||
Reference in new issue
Block a user