diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/swrasterizer/lighting.cpp | 2 |
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( | |||
| 244 | MathUtil::Clamp(specular_sum.z, 0.0f, 1.0f) * 255, | 244 | MathUtil::Clamp(specular_sum.z, 0.0f, 1.0f) * 255, |
| 245 | MathUtil::Clamp(specular_sum.w, 0.0f, 1.0f) * 255) | 245 | MathUtil::Clamp(specular_sum.w, 0.0f, 1.0f) * 255) |
| 246 | .Cast<u8>(); | 246 | .Cast<u8>(); |
| 247 | return {diffuse, specular}; | 247 | return std::make_tuple(diffuse, specular); |
| 248 | } | 248 | } |
| 249 | 249 | ||
| 250 | } // namespace Pica | 250 | } // namespace Pica |