summaryrefslogtreecommitdiff
path: root/designer.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-09-21 11:16:58 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-09-23 14:26:13 +0200
commit3fbc60131516a19dcf9cdf756388a3a0c67b39fc (patch)
tree9381a75375ffce0c31fd302c6f1d198e87785a27 /designer.c
parent8c9a0d79258bd412d0cb82885d1f446003185937 (diff)
downloadvdr-plugin-skindesigner-1.2.8.5.tar.gz
vdr-plugin-skindesigner-1.2.8.5.tar.bz2
Refresh imgCache if OsdProvider was changed (simple fix)1.2.8.5
Diffstat (limited to 'designer.c')
-rw-r--r--designer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/designer.c b/designer.c
index b6f35b1..a59ea04 100644
--- a/designer.c
+++ b/designer.c
@@ -171,6 +171,7 @@ void cSkinDesigner::ListCustomTokens(void) {
}
skindesignerapi::ISkinDisplayPlugin *cSkinDesigner::GetDisplayPlugin(int plugId) {
+ Init();
map<int, cViewPlugin*>::iterator hit = pluginViews.find(plugId);
if (hit == pluginViews.end())
return NULL;
@@ -235,6 +236,14 @@ void cSkinDesigner::Init(void) {
watch.Stop("templates loaded and caches created");
}
}
+ else if (config.fixForopenGL)
+ {
+ dsyslog ("skindesigner: fix for openGL activ");
+ if (imgCache)
+ delete imgCache;
+ imgCache = new cImageCache();
+ imgCache->SetPathes();
+ }
}
void cSkinDesigner::DeleteViews(void) {