git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display "please wait" message in movieselection while hdd spins up
[enigma2.git]
/
lib
/
gdi
/
gpixmap.cpp
diff --git
a/lib/gdi/gpixmap.cpp
b/lib/gdi/gpixmap.cpp
index 3e07bca05d2e36bca52705861fcfd981ac31c0f3..aaffbaa71c8743c16b18d9dcb2a5bbbe8650ea80 100644
(file)
--- a/
lib/gdi/gpixmap.cpp
+++ b/
lib/gdi/gpixmap.cpp
@@
-180,11
+180,9
@@
void gPixmap::blit(const gPixmap &src, ePoint pos, const gRegion &clip, int flag
for (unsigned int i=0; i<clip.rects.size(); ++i)
{
eRect area=eRect(pos, src.size());
for (unsigned int i=0; i<clip.rects.size(); ++i)
{
eRect area=eRect(pos, src.size());
-
- if (!(flag & blitAlphaTest)) // HACK !!
- area&=clip.rects[i];
-
+ area&=clip.rects[i];
area&=eRect(ePoint(0, 0), size());
area&=eRect(ePoint(0, 0), size());
+
if ((area.width()<0) || (area.height()<0))
continue;
if ((area.width()<0) || (area.height()<0))
continue;