fix: Alpha channel out of line
This commit is contained in:
parent
c9af239516
commit
2f7ec4ceee
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class color {
|
|||
}
|
||||
|
||||
uint32_t alpha() const {
|
||||
return 0xFFFF & (((value() >> 24)) | ((value() >> 24)));
|
||||
return 0xFFFF & (((value() >> 24) << 8) | ((value() >> 24)));
|
||||
}
|
||||
|
||||
uint32_t red() const {
|
||||
|
|
Loading…
Reference in a new issue