Actual bug fix

This commit is contained in:
Pavel Krajcevski 2013-03-11 15:08:44 -04:00
parent cd17ddaa0b
commit da44e58160

View file

@ -1570,7 +1570,7 @@ namespace BC7C
CompressBC7Block((const uint32 *)in, out);
}
if(TestAndSet(cjl.GetFinishedFlag(jobIdx)) != 0) {
if(TestAndSet(cjl.GetFinishedFlag(jobIdx)) == 0) {
cjl.m_CurrentJobIndex++;
cjl.m_CurrentBlockIndex = 0;
}