git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696569c
)
ewidgetdesktop: don't abort if no target_pixmap is set
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 16 Nov 2010 13:14:18 +0000
(14:14 +0100)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 16 Nov 2010 16:15:39 +0000
(17:15 +0100)
lib/gui/ewidgetdesktop.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/ewidgetdesktop.cpp
b/lib/gui/ewidgetdesktop.cpp
index 98bc1f7dce08334776d40e6002ec6968d21c3ef0..08bd04740fcfc8c33d4d5ba49c6223a2311877c7 100644
(file)
--- a/
lib/gui/ewidgetdesktop.cpp
+++ b/
lib/gui/ewidgetdesktop.cpp
@@
-381,7
+381,10
@@
void eWidgetDesktop::makeCompatiblePixmap(gPixmap &pm)
ePtr<gPixmap> target_pixmap;
m_screen.m_dc->getPixmap(target_pixmap);
- ASSERT(target_pixmap);
+ if (!target_pixmap) {
+ eDebug("no target pixmap! assuming bpp > 8 for accelerated graphics.");
+ return;
+ }
if (target_pixmap->surface && target_pixmap->surface->bpp > 8)
return;