summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2015-02-12 10:30:50 +0100
committerJohns <johns98@gmx.net>2015-02-12 10:30:50 +0100
commit1d06c5ba59ff4175b9144764f9750f9143c066fb (patch)
tree329ffd9cc27fa3ecdb70dc1d32195242362ee7f4 /softhddevice.cpp
parent2ceeb6db4062ca57eaad5e25f86f68328035233c (diff)
downloadvdr-plugin-softhddevice-1d06c5ba59ff4175b9144764f9750f9143c066fb.tar.gz
vdr-plugin-softhddevice-1d06c5ba59ff4175b9144764f9750f9143c066fb.tar.bz2
Compile with vdr 2.1.10
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index b3467a5..eb07e48 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -496,7 +496,7 @@ void cSoftOsd::Flush(void)
}
LOCK_PIXMAPS;
- while ((pm = RenderPixmaps())) {
+ while ((pm = (dynamic_cast < cPixmapMemory * >(RenderPixmaps())))) {
int x;
int y;
int w;
@@ -513,7 +513,7 @@ void cSoftOsd::Flush(void)
#endif
OsdDrawARGB(x, y, w, h, pm->Data());
- delete pm;
+ DestroyPixmap(pm);
}
Dirty = 0;
}