summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-08-10 11:44:23 +0200
committerGitHub <noreply@github.com>2017-08-10 11:44:23 +0200
commit2415bad9ad32fade8ca76c506ba4d8827765b470 (patch)
treee39b13cbed6f7e90394fd6baf4e31d1f1b2aa44c /src
parentMerge pull request #2857 from j-selby/deploy-fix (diff)
parentSwRasterizer/Lighting: use make_tuple instead of constructor (diff)
downloadyuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar.gz
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar.bz2
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar.lz
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar.xz
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.tar.zst
yuzu-2415bad9ad32fade8ca76c506ba4d8827765b470.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/swrasterizer/lighting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/swrasterizer/lighting.cpp b/src/video_core/swrasterizer/lighting.cpp
index 63088eee8..d61e6d572 100644
--- a/src/video_core/swrasterizer/lighting.cpp
+++ b/src/video_core/swrasterizer/lighting.cpp
@@ -244,7 +244,7 @@ std::tuple<Math::Vec4<u8>, Math::Vec4<u8>> ComputeFragmentsColors(
MathUtil::Clamp(specular_sum.z, 0.0f, 1.0f) * 255,
MathUtil::Clamp(specular_sum.w, 0.0f, 1.0f) * 255)
.Cast<u8>();
- return {diffuse, specular};
+ return std::make_tuple(diffuse, specular);
}
} // namespace Pica