1.0.0.9 Release

--Bug fixes
 -Pausing did not work when using OpenCL renderer.
This commit is contained in:
Person
2018-05-13 11:02:37 -07:00
parent d1f15933a8
commit 93fcedebd4
13 changed files with 32 additions and 18 deletions

View File

@ -997,6 +997,10 @@ bool RendererCL<T, bucketT>::RunIter(size_t iterCount, size_t temporalSample, si
while (b && (atomLaunchesRan.fetch_add(1) + 1 <= launches) && ((itersRemaining = atomItersRemaining.load()) > 0) && !m_Abort)
{
//Check if the user wanted to suspend the process.
while (Paused())
std::this_thread::sleep_for(500ms);
cl_uint argIndex = 0;
#ifdef TEST_CL
uint fuse = 0;