mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-13 00:26:06 +00:00
Fix CColor::toRGBA
This commit is contained in:
parent
d63744eb07
commit
3f0f1bf338
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user