diff options
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r-- | softhddevice.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp index ba0cb2f..310855b 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -513,7 +513,11 @@ void cSoftOsd::Flush(void) #endif OsdDrawARGB(x, y, w, h, pm->Data()); +#if APIVERSNUM >= 20110 DestroyPixmap(pm); +#else + delete pm; +#endif } Dirty = 0; } |