summaryrefslogtreecommitdiffstats
path: root/examples/custom_shader/src/primitive/buffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_shader/src/primitive/buffer.rs')
-rw-r--r--examples/custom_shader/src/primitive/buffer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/custom_shader/src/primitive/buffer.rs b/examples/custom_shader/src/primitive/buffer.rs
index 377ce1bb..ef4c41c9 100644
--- a/examples/custom_shader/src/primitive/buffer.rs
+++ b/examples/custom_shader/src/primitive/buffer.rs
@@ -1,3 +1,5 @@
+use crate::wgpu;
+
// A custom buffer container for dynamic resizing.
pub struct Buffer {
pub raw: wgpu::Buffer,