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; return;
const RTCIntersectContext ctx = { const RTCIntersectContext ctx = {
.flags = RTC_INTERSECT_COHERENT, RTC_INTERSECT_COHERENT,
.userRayExt = nullptr nullptr
}; };
rtcOccluded1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay)); rtcOccluded1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay));
@ -468,8 +468,8 @@ public:
return; return;
const RTCIntersectContext ctx = { const RTCIntersectContext ctx = {
.flags = RTC_INTERSECT_COHERENT, RTC_INTERSECT_COHERENT,
.userRayExt = nullptr nullptr
}; };
rtcIntersect1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay)); rtcIntersect1M(scene, &ctx, _rays, _numrays, sizeof(RTCRay));