VERY experimental Nintendo Switch 2 emulator
C++
SwRasterizer/Lighting: use make_tuple instead of constructor
wwylele72905b0389a7
diff --git a/src/video_core/swrasterizer/lighting.cpp b/src/video_core/swrasterizer/lighting.cppindex 63088eee8c..d61e6d5720 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