Commit 6f84c929 authored by Emeric Verschuur's avatar Emeric Verschuur

--no commit message

--no commit message
parent d58ed0e6
......@@ -141,7 +141,7 @@ void LrSceneRayTracing::generateImagePart(int lOffset, int lNb)
m_image->setPixel(pixel, l, c);
if((l*m_image->getHeight() + c) % q == q-1){
if((l*m_image->getWidth() + c) % q == q-1){
sem_post(&sem);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment