aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/macros.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:22 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:22 +0100
commitc48b54f3fb7bbe9046915eb99eca02fa84dc55c9 (patch)
tree752831451d2bd3a658485df724a01ae39e80fae3 /stockton-render/src/draw/macros.rs
parentb437109ebf4da243fd643f0a31546d0d0155b0a4 (diff)
feat(render): multithreaded texture loading
also a bunch of supporting changes
Diffstat (limited to 'stockton-render/src/draw/macros.rs')
-rw-r--r--stockton-render/src/draw/macros.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/stockton-render/src/draw/macros.rs b/stockton-render/src/draw/macros.rs
index e1ee515..1dd081d 100644
--- a/stockton-render/src/draw/macros.rs
+++ b/stockton-render/src/draw/macros.rs
@@ -28,9 +28,11 @@
/// );
/// ```
/// See the hal::pso::Format enum for possible types
+#[allow(clippy::vec_init_then_push)]
macro_rules! pipeline_vb_attributes {
// Special case for single item
( $binding:expr, $firstSize:expr; $firstType:ident ) => ({
+ #![allow(clippy::vec_init_then_push)]
vec![
AttributeDesc {
location: 0,