fix: Alpha channel out of line
This commit is contained in:
parent
c9af239516
commit
2f7ec4ceee
@ -47,7 +47,7 @@ class color {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32_t alpha() const {
|
uint32_t alpha() const {
|
||||||
return 0xFFFF & (((value() >> 24)) | ((value() >> 24)));
|
return 0xFFFF & (((value() >> 24) << 8) | ((value() >> 24)));
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t red() const {
|
uint32_t red() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user