Avoid redundant buffer::Buffer import
This commit is contained in:
parent
f557b810f5
commit
e267e075cc
4 changed files with 8 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue