Skip to content

Commit

Permalink
bugfix in splitter_parallel.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwoop committed Mar 11, 2013
1 parent c6426e6 commit f3d8307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtcore/common/splitter_parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ namespace embree
template<typename Heuristic, typename PrimRefBlockList>
MultiThreadedSplitter<Heuristic,PrimRefBlockList>::MultiThreadedSplitter(const TaskScheduler::ThreadInfo& thread,
PrimRefAlloc* alloc, const BuildTriangle* triangles, const Vec3fa* vertices,
PrimRefBlockList& prims, const PrimInfo& pinfo, const Split& split,
PrimRefBlockList& prims_i, const PrimInfo& pinfo, const Split& split,
TaskScheduler::completeFunction cfun, void* cptr)
: alloc(alloc), prims(prims), pinfo(pinfo), split(split), triangles(triangles), vertices(vertices), cfun(cfun), cptr(cptr)
: alloc(alloc), prims(prims_i), pinfo(pinfo), split(split), triangles(triangles), vertices(vertices), cfun(cfun), cptr(cptr)
{
/* if split was not successfull enforce some split */
if (unlikely(split.linfo.size() == 0 || split.rinfo.size() == 0)) {
Expand Down

0 comments on commit f3d8307

Please sign in to comment.