mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed backwards alpha color conversion
This commit is contained in:
parent
019dccae57
commit
248fb11452
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ RGBAColor8Byte::RGBAColor8Byte(const Vector4& color)
|
|||
r = FloatComponentToByte(color.x);
|
||||
g = FloatComponentToByte(color.y);
|
||||
b = FloatComponentToByte(color.z);
|
||||
a = FloatComponentToByte(color.w);
|
||||
a = FloatComponentToByte(color.w * 2);
|
||||
}
|
||||
|
||||
byte RGBAColor8Byte::GetR() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue