mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 10:47:55 +00:00
General: address feedback
This commit is contained in:
parent
78362ac6dd
commit
1595e77913
30 changed files with 167 additions and 165 deletions
|
@ -195,7 +195,7 @@ public:
|
|||
BitField<24, 2, u32> num_dst_components_minus_one;
|
||||
};
|
||||
|
||||
Swizzle GetComponent(size_t i) {
|
||||
Swizzle GetComponent(size_t i) const {
|
||||
const u32 raw = dst_components_raw;
|
||||
return static_cast<Swizzle>((raw >> (i * 3)) & 0x7);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue