diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:38:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-16 14:51:53 +0200 |
commit | 751fbfdcc33420cb39aee30158706984efb4da40 (patch) | |
tree | 570330019bba030c78af7d7715b89a5b3de7ccc6 /src/video_core/rasterizer.cpp | |
parent | Merge pull request #1097 from yuriks/cfg-blocks (diff) | |
download | yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.gz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.bz2 yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.lz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.xz yuzu-751fbfdcc33420cb39aee30158706984efb4da40.tar.zst yuzu-751fbfdcc33420cb39aee30158706984efb4da40.zip |
Diffstat (limited to '')
-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 a90ff5fef..6e2266b1c 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()); |