From 707ae70fe110b23247fe71bef46232dd5158ddf1 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 30 Jul 2016 00:47:43 -0600 Subject: [PATCH] light: don't use c99 designated initializers (msvc compat) --- light/trace_embree.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/light/trace_embree.cc b/light/trace_embree.cc index 41cf59e6..cbfe04de 100644 --- a/light/trace_embree.cc +++ b/light/trace_embree.cc @@ -456,8 +456,8 @@ public: return; const RTCIntersectContext ctx = { - .flags = RTC_INTERSECT_COHERENT, - .userRayExt = nullptr + RTC_INTERSECT_COHERENT, + nullptr }; rtcOccluded1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay)); @@ -468,8 +468,8 @@ public: return; const RTCIntersectContext ctx = { - .flags = RTC_INTERSECT_COHERENT, - .userRayExt = nullptr + RTC_INTERSECT_COHERENT, + nullptr }; rtcIntersect1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay));