Fixed glares

This commit is contained in:
2012-06-14 03:11:36 +00:00
parent cc82653b72
commit fac417a3ba
10 changed files with 155 additions and 102 deletions

View File

@@ -113,7 +113,7 @@ void GlareGhostOperation::generateGlare(float *data, MemoryBuffer *inputTile, No
sm = smoothMask(s, t) * 0.25f;
fRGB_madd(tc, c, sm);
}
tbuf1->writePixel(x, y, tc);
tbuf1->addPixel(x, y, tc);
}
if (isBreaked()) breaked = true;
}