Fixed Color::toInteger() not being const-qualified
This commit is contained in:
parent
e0d27358fb
commit
e0174545e6
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ a((color & 0x000000ff) >> 0 )
|
|||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
Uint32 Color::toInteger()
|
||||
Uint32 Color::toInteger() const
|
||||
{
|
||||
return (r << 24) | (g << 16) | (b << 8) | a;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue