aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/vertex_shader.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-09-28 11:20:06 -0400
committerGravatar Lioncash <mathew1800@gmail.com>2014-10-07 20:35:13 -0400
commiteb5054e6eb0d810f26caff9f09e43dbeee4a69fa (patch)
tree58a6e4f1e07f3ee8e2ad469bca7c2b43edac20a6 /src/video_core/vertex_shader.h
parentee7cfc71bd8663b77a43c5ba577074972d9b7ad9 (diff)
Fix warnings in video_core
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 847fdc45..607a8e80 100644
--- a/src/video_core/vertex_shader.h
+++ b/src/video_core/vertex_shader.h
@@ -225,7 +225,7 @@ union SwizzlePattern {
}
bool DestComponentEnabled(int i) const {
- return (dest_mask & (0x8 >> i));
+ return (dest_mask & (0x8 >> i)) != 0;
}
std::string SelectorToString(bool src2) const {