fix possible crash on task abort and work with new getCD return value
[enigma2.git] / lib / gdi / gpixmap.cpp
index e2960ad71f2257dc70f4ae0af0cf637969e728ce..315c18d130428fe8543788f8d5cacabd6c844e57 100644 (file)
@@ -282,7 +282,7 @@ void gPixmap::blit(const gPixmap &src, ePoint pos, const gRegion &clip, int flag
                        dstptr+=area.left()*surface->bypp+area.top()*surface->stride;
                        for (int y=0; y<area.height(); y++)
                        {
-                               if (flag & blitAlphaTest)
+                               if (flag & (blitAlphaTest|blitAlphaBlend))
                                {
                      // no real alphatest yet
                                        int width=area.width();