Fixed issue where quads of different types were not ordered.
This commit is contained in:
parent
75110b9c0e
commit
3f141459a6
4 changed files with 87 additions and 13 deletions
|
|
@ -49,3 +49,12 @@ unsafe impl Pod for Gradient {}
|
|||
|
||||
#[allow(unsafe_code)]
|
||||
unsafe impl Zeroable for Gradient {}
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
/// The identifier of a quad, used for ordering.
|
||||
pub enum Order {
|
||||
/// A solid quad
|
||||
Solid,
|
||||
/// A gradient quad
|
||||
Gradient,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue