aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/grc.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-12-05 03:08:36 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-12-05 03:08:36 +0000
commit02226aee689caad4d05e65448ec7640d33e8f659 (patch)
tree4388956180ee2f705365c2c3c556d40a892d6aa7 /lib/gdi/grc.cpp
parenta48bc4879c6ac4c6eb163f6bb3c0b5c0536fcee8 (diff)
downloadenigma2-02226aee689caad4d05e65448ec7640d33e8f659.tar.gz
enigma2-02226aee689caad4d05e65448ec7640d33e8f659.zip
listboxcontent: add support for pixmaps in list
Diffstat (limited to 'lib/gdi/grc.cpp')
-rw-r--r--lib/gdi/grc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gdi/grc.cpp b/lib/gdi/grc.cpp
index 7f884024..f54f1604 100644
--- a/lib/gdi/grc.cpp
+++ b/lib/gdi/grc.cpp
@@ -1,5 +1,5 @@
// for debugging use:
-// #define SYNC_PAINT
+ #define SYNC_PAINT
#include <unistd.h>
#ifndef SYNC_PAINT
#include <pthread.h>
@@ -227,6 +227,8 @@ void gPainter::blit(gPixmap *pixmap, ePoint pos, const eRect &clip, int flags)
{
gOpcode o;
+ ASSERT(pixmap);
+
o.opcode=gOpcode::blit;
o.dc = m_dc.grabRef();
pixmap->AddRef();