git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PluginComponent.py: remove filesystem writeability test
[enigma2.git]
/
lib
/
gui
/
ewidgetdesktop.cpp
diff --git
a/lib/gui/ewidgetdesktop.cpp
b/lib/gui/ewidgetdesktop.cpp
index fa53235929780d7f5759e52bdbc67d1f8975c41d..08bd04740fcfc8c33d4d5ba49c6223a2311877c7 100644
(file)
--- a/
lib/gui/ewidgetdesktop.cpp
+++ b/
lib/gui/ewidgetdesktop.cpp
@@
-332,6
+332,10
@@
void eWidgetDesktop::paint()
if (m_comp_mode == cmBuffered)
{
// redrawComposition(0);
if (m_comp_mode == cmBuffered)
{
// redrawComposition(0);
+ } else
+ {
+ gPainter painter(m_screen.m_dc);
+ painter.flush();
}
}
}
}
@@
-377,7
+381,10
@@
void eWidgetDesktop::makeCompatiblePixmap(gPixmap &pm)
ePtr<gPixmap> target_pixmap;
m_screen.m_dc->getPixmap(target_pixmap);
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;
if (target_pixmap->surface && target_pixmap->surface->bpp > 8)
return;