light: don't use c99 designated initializers (msvc compat)
This commit is contained in:
parent
882348ac0a
commit
707ae70fe1
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue