diff options
author | Lioncash <mathew1800@gmail.com> | 2014-09-28 11:20:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-10-07 20:35:13 -0400 |
commit | eb5054e6eb0d810f26caff9f09e43dbeee4a69fa (patch) | |
tree | 58a6e4f1e07f3ee8e2ad469bca7c2b43edac20a6 /src/video_core/vertex_shader.cpp | |
parent | ee7cfc71bd8663b77a43c5ba577074972d9b7ad9 (diff) |
Fix warnings in video_core
Diffstat (limited to 'src/video_core/vertex_shader.cpp')
-rw-r--r-- | src/video_core/vertex_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index db824431..96625791 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp @@ -77,7 +77,7 @@ static void ProcessShaderCode(VertexShaderState& state) { : nullptr; const SwizzlePattern& swizzle = *(SwizzlePattern*)&swizzle_data[instr.common.operand_desc_id]; - const bool negate_src1 = swizzle.negate; + const bool negate_src1 = (swizzle.negate != 0); float24 src1[4] = { src1_[(int)swizzle.GetSelectorSrc1(0)], |