for (unsigned int i=0; i<clip.rects.size(); ++i)
{
eRect area=eRect(pos, src.size());
- area&=clip.rects[i];
+
+ if (!(flag & blitAlphaTest)) // HACK !!
+ area&=clip.rects[i];
+
area&=eRect(ePoint(0, 0), size());
if ((area.width()<0) || (area.height()<0))
continue;
// use duff's device here!
while (width--)
{
- if (!*src)
+ if (*src==0x01)
{
src++;
dst++;