After discussion, it seems that transparent_white() has undefined behavior.

This commit is contained in:
Adenilson Cavalcanti 2015-04-22 14:42:14 -07:00
parent 95bcc5747c
commit cf2406de47
2 changed files with 1 additions and 6 deletions

View file

@ -39,8 +39,3 @@ pub fn transparent_black() -> AzColor {
pub fn white() -> AzColor {
AzColor { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }
}
#[inline]
pub fn transparent_white() -> AzColor {
AzColor { r: 1.0, g: 1.0, b: 1.0, a: 0.0 }
}