diff options
| author | 2016-11-30 09:37:37 -0500 | |
|---|---|---|
| committer | 2016-11-30 09:37:37 -0500 | |
| commit | e3e4f27447d8d79ab89bfd40a2831539f79064e8 (patch) | |
| tree | 2753254465dadeb3be1e9fb55ac5ff861910a54b /src/video_core/rasterizer.cpp | |
| parent | Merge pull request #1820 from mailwl/service-ver (diff) | |
| download | yuzu-e3e4f27447d8d79ab89bfd40a2831539f79064e8.tar.gz yuzu-e3e4f27447d8d79ab89bfd40a2831539f79064e8.tar.xz yuzu-e3e4f27447d8d79ab89bfd40a2831539f79064e8.zip | |
ClangFormat: Fixed the clang-format errors
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 f81f529b6..b9f5d4533 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -946,8 +946,8 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, const Shader | |||
| 946 | 946 | ||
| 947 | // Blend the fog | 947 | // Blend the fog |
| 948 | for (unsigned i = 0; i < 3; i++) { | 948 | for (unsigned i = 0; i < 3; i++) { |
| 949 | combiner_output[i] = | 949 | combiner_output[i] = static_cast<u8>(fog_factor * combiner_output[i] + |
| 950 | static_cast<u8>(fog_factor * combiner_output[i] + (1.0f - fog_factor) * fog_color[i]); | 950 | (1.0f - fog_factor) * fog_color[i]); |
| 951 | } | 951 | } |
| 952 | } | 952 | } |
| 953 | 953 | ||