diff options
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index 9c5d567a6..bc48320ce 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.h | |||
| @@ -195,7 +195,7 @@ public: | |||
| 195 | BitField<24, 2, u32> num_dst_components_minus_one; | 195 | BitField<24, 2, u32> num_dst_components_minus_one; |
| 196 | }; | 196 | }; |
| 197 | 197 | ||
| 198 | Swizzle GetComponent(size_t i) { | 198 | Swizzle GetComponent(size_t i) const { |
| 199 | const u32 raw = dst_components_raw; | 199 | const u32 raw = dst_components_raw; |
| 200 | return static_cast<Swizzle>((raw >> (i * 3)) & 0x7); | 200 | return static_cast<Swizzle>((raw >> (i * 3)) & 0x7); |
| 201 | } | 201 | } |