diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-04-21 11:10:50 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-04-21 11:10:50 +0000 |
| commit | 0f121e195a20cef95d933030eb4a0c908cdeee61 (patch) | |
| tree | b2a2a9a5f712c62157da22efa87978ed3878c2e6 /lib/gdi/gpixmap.cpp | |
| parent | 3732f202a8be75645bdb12b8bc04d20125f724f4 (diff) | |
| download | enigma2-0f121e195a20cef95d933030eb4a0c908cdeee61.tar.gz enigma2-0f121e195a20cef95d933030eb4a0c908cdeee61.zip | |
fix prev commit
Diffstat (limited to 'lib/gdi/gpixmap.cpp')
| -rw-r--r-- | lib/gdi/gpixmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gdi/gpixmap.cpp b/lib/gdi/gpixmap.cpp index d283ef05..315c18d1 100644 --- a/lib/gdi/gpixmap.cpp +++ b/lib/gdi/gpixmap.cpp @@ -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(); @@ -312,7 +312,7 @@ void gPixmap::blit(const gPixmap &src, ePoint pos, const gRegion &clip, int flag dstptr+=area.left()+area.top()*surface->stride/4; for (int y=0; y<area.height(); y++) { - if (flag & (blitAlphaTest|blitAlphaBlend)) + if (flag & blitAlphaTest) { int width=area.width(); unsigned long *src=(unsigned long*)srcptr; |
