Fixed backwards alpha color conversion

This commit is contained in:
Lwmte 2025-03-09 08:31:35 +01:00
parent 019dccae57
commit 248fb11452

View file

@ -51,7 +51,7 @@ RGBAColor8Byte::RGBAColor8Byte(const Vector4& color)
r = FloatComponentToByte(color.x); r = FloatComponentToByte(color.x);
g = FloatComponentToByte(color.y); g = FloatComponentToByte(color.y);
b = FloatComponentToByte(color.z); b = FloatComponentToByte(color.z);
a = FloatComponentToByte(color.w); a = FloatComponentToByte(color.w * 2);
} }
byte RGBAColor8Byte::GetR() const byte RGBAColor8Byte::GetR() const