mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix for compile with vdr 2.1.10, for older vdr versions.
This commit is contained in:
parent
73ce4ba803
commit
93ea660a38
@ -1,3 +1,8 @@
|
|||||||
|
User johns
|
||||||
|
Date:
|
||||||
|
|
||||||
|
Fix for compile with vdr 2.1.10, for older vdr versions.
|
||||||
|
|
||||||
User jinx
|
User jinx
|
||||||
Date: Mon Feb 16 09:58:06 CET 2015
|
Date: Mon Feb 16 09:58:06 CET 2015
|
||||||
|
|
||||||
|
@ -513,7 +513,11 @@ void cSoftOsd::Flush(void)
|
|||||||
#endif
|
#endif
|
||||||
OsdDrawARGB(x, y, w, h, pm->Data());
|
OsdDrawARGB(x, y, w, h, pm->Data());
|
||||||
|
|
||||||
|
#if APIVERSNUM >= 20110
|
||||||
DestroyPixmap(pm);
|
DestroyPixmap(pm);
|
||||||
|
#else
|
||||||
|
delete pm;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Dirty = 0;
|
Dirty = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user