light: don't use c99 designated initializers (msvc compat)

This commit is contained in:
Eric Wasylishen 2016-07-30 00:47:43 -06:00
parent 882348ac0a
commit 707ae70fe1
1 changed files with 4 additions and 4 deletions

View File

@ -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));