summaryrefslogtreecommitdiffstats
path: root/wgpu/src/triangle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/triangle.rs')
-rw-r--r--wgpu/src/triangle.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs
index 48ddf28a..feca72dc 100644
--- a/wgpu/src/triangle.rs
+++ b/wgpu/src/triangle.rs
@@ -3,14 +3,13 @@ use crate::{settings, Transformation};
use core::fmt;
use std::fmt::Formatter;
-use iced_graphics::layer::{attribute_count_of, Mesh};
-use iced_graphics::{layer, Size};
+use iced_graphics::layer::{Mesh, mesh, mesh::attribute_count_of};
+use iced_graphics::Size;
use crate::buffers::StaticBuffer;
use crate::triangle::gradient::GradientPipeline;
use crate::triangle::solid::SolidPipeline;
pub use iced_graphics::triangle::{Mesh2D, Vertex2D};
-use layer::mesh;
mod solid;
mod gradient;