mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-08 21:17:49 +00:00
Fix CColor::toRGBA
This commit is contained in:
@@ -251,7 +251,7 @@ public:
|
|||||||
ret.g = g() * 255;
|
ret.g = g() * 255;
|
||||||
ret.b = b() * 255;
|
ret.b = b() * 255;
|
||||||
ret.a = a() * 255;
|
ret.a = a() * 255;
|
||||||
return ret.rgba;
|
return COLOR(ret.rgba);
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] unsigned short toRGB5A3() const {
|
[[nodiscard]] unsigned short toRGB5A3() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user