diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-16 08:38:12 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-16 08:51:53 -0400 |
commit | 751fbfdcc33420cb39aee30158706984efb4da40 (patch) | |
tree | 570330019bba030c78af7d7715b89a5b3de7ccc6 /src/video_core/rasterizer.cpp | |
parent | f7b4f44adfb3d27c5ef5949115accf5caa8354f3 (diff) |
general: Silence some warnings when using clang
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r-- | src/video_core/rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index a90ff5fef4..6e2266b1c0 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp @@ -735,11 +735,11 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, auto color_output = ColorCombine(tev_stage.color_op, color_result); // alpha combiner - std::array<u8,3> alpha_result = { + std::array<u8,3> alpha_result = {{ GetAlphaModifier(tev_stage.alpha_modifier1, GetSource(tev_stage.alpha_source1)), GetAlphaModifier(tev_stage.alpha_modifier2, GetSource(tev_stage.alpha_source2)), GetAlphaModifier(tev_stage.alpha_modifier3, GetSource(tev_stage.alpha_source3)) - }; + }}; auto alpha_output = AlphaCombine(tev_stage.alpha_op, alpha_result); combiner_output[0] = std::min((unsigned)255, color_output.r() * tev_stage.GetColorMultiplier()); |