diff options
Diffstat (limited to 'src/video_core/vertex_shader.h')
| -rw-r--r-- | src/video_core/vertex_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h index 847fdc450..607a8e803 100644 --- a/src/video_core/vertex_shader.h +++ b/src/video_core/vertex_shader.h | |||
| @@ -225,7 +225,7 @@ union SwizzlePattern { | |||
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | bool DestComponentEnabled(int i) const { | 227 | bool DestComponentEnabled(int i) const { |
| 228 | return (dest_mask & (0x8 >> i)); | 228 | return (dest_mask & (0x8 >> i)) != 0; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | std::string SelectorToString(bool src2) const { | 231 | std::string SelectorToString(bool src2) const { |