Skip to content
Permalink
Browse files

Merge pull request #7867 from Tilka/gcc_ice

Work around GCC 8.2 ICE
  • Loading branch information...
JosJuice committed Mar 8, 2019
2 parents db25428 + 1790497 commit f6b856d01e95b59f5dfa34bc66e0c86f565d4c8c
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/HW/WiimoteEmu/Camera.cpp
@@ -104,7 +104,7 @@ void CameraLogic::Update(const Common::Matrix44& transform, bool sensor_bar_on_t

std::array<CameraPoint, leds.size()> camera_points;

std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](auto& v) {
std::transform(leds.begin(), leds.end(), camera_points.begin(), [&](const Vec3& v) {
const auto point = camera_view * Vec4(v, 1.0);

if (point.z > 0)

0 comments on commit f6b856d

Please sign in to comment.
You can’t perform that action at this time.