summaryrefslogtreecommitdiff
path: root/src/video_core/vertex_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/vertex_shader.h')
-rw-r--r--src/video_core/vertex_shader.h2
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 {