Avoid redundant buffer::Buffer import

This commit is contained in:
Héctor Ramón Jiménez 2023-05-19 04:02:18 +02:00
parent f557b810f5
commit e267e075cc
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 8 additions and 7 deletions

View file

@ -195,9 +195,9 @@ impl Layer {
}
mod solid {
use crate::buffer::Buffer;
use crate::layer::quad;
use crate::quad::{color_target_state, Vertex, INDICES, INITIAL_INSTANCES};
use crate::Buffer;
#[derive(Debug)]
pub struct Pipeline {
@ -324,9 +324,9 @@ mod solid {
}
mod gradient {
use crate::buffer::Buffer;
use crate::layer::quad;
use crate::quad::{color_target_state, Vertex, INDICES, INITIAL_INSTANCES};
use crate::Buffer;
#[derive(Debug)]
pub struct Pipeline {