mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-09 16:29:08 +01:00
Merge pull request #2868 from wwylele/swr-tuple
SwRasterizer/Lighting: use make_tuple instead of constructor
This commit is contained in:
commit
2415bad9ad
1 changed files with 1 additions and 1 deletions
|
@ -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.z, 0.0f, 1.0f) * 255,
|
||||||
MathUtil::Clamp(specular_sum.w, 0.0f, 1.0f) * 255)
|
MathUtil::Clamp(specular_sum.w, 0.0f, 1.0f) * 255)
|
||||||
.Cast<u8>();
|
.Cast<u8>();
|
||||||
return {diffuse, specular};
|
return std::make_tuple(diffuse, specular);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Pica
|
} // namespace Pica
|
||||||
|
|
Loading…
Reference in a new issue