summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-10 10:56:55 +0200
committerwwylele <wwylele@gmail.com>2017-08-10 11:19:58 +0200
commit5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea (patch)
treee39b13cbed6f7e90394fd6baf4e31d1f1b2aa44c /src/video_core
parentMerge pull request #2857 from j-selby/deploy-fix (diff)
downloadyuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar.gz
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar.bz2
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar.lz
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar.xz
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.tar.zst
yuzu-5d9d42f0d0e0b2619e7412b86699a9b2b9dfa4ea.zip
Diffstat (limited to 'src/video_core')
-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