Skip to content
Permalink
Browse files

Work around GCC 8.2 ICE

  • Loading branch information...
Tilka committed Mar 8, 2019
1 parent db25428 commit 1790497789771a2fb00a06c987df7816d0ea6906
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 1790497

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