diff options
author | Johns <johns98@gmx.net> | 2015-02-12 10:30:50 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2015-02-12 10:30:50 +0100 |
commit | 1d06c5ba59ff4175b9144764f9750f9143c066fb (patch) | |
tree | 329ffd9cc27fa3ecdb70dc1d32195242362ee7f4 /softhddevice.cpp | |
parent | 2ceeb6db4062ca57eaad5e25f86f68328035233c (diff) | |
download | vdr-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.cpp | 4 |
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; } |