Match CScriptActor::PreRender

Former-commit-id: b17f7014c9
This commit is contained in:
2022-11-04 01:39:14 -04:00
parent 9cece32038
commit caa46fc392
3 changed files with 15 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ public:
return CColor((mRgba & ~0xff) | CCast::ToUint8(a * static_cast< float >(mA)));
}
bool operator==(const CColor& other) { return mRgba == other.mRgba; }
bool operator==(const CColor& other) const { return mRgba == other.mRgba; }
// TODO check
static GXColor ToGX(uint c) { return *reinterpret_cast< const GXColor* >(&c); }