diff options
Diffstat (limited to 'designer.c')
-rw-r--r-- | designer.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) { |