fixed color packing into u32
@@ -21,7 +21,7 @@ impl Default for Color {
impl Into<u32> for Color {
fn into(self) -> u32 {
- ((self.r as u32) << 24) | ((self.g as u32) << 16) | ((self.b as u32) << 8) | (self.a as u32)
+ ((self.a as u32) << 24) | ((self.b as u32) << 16) | ((self.g as u32) << 8) | (self.r as u32)
}
}
