summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index c24d7d7..76c1ab2 100644
--- a/setup.c
+++ b/setup.c
@@ -134,6 +134,7 @@ cSkinDesignerSetup::cSkinDesignerSetup(skindesignerapi::cPluginStructure *skinPr
rerunMaxChannel = config.rerunMaxChannel;
numCustomTokens = config.numCustomTokens;
FPS = config.FPS;
+ fixForopenGL = config.fixForopenGL;
menuDisplayStyle[0] = tr("after one another");
menuDisplayStyle[1] = tr("at one go");
#ifndef DO_NOT_USE_SKININSTALLER
@@ -276,6 +277,7 @@ void cSkinDesignerSetup::Store(void) {
config.rerunMaxChannel = rerunMaxChannel;
config.numCustomTokens = numCustomTokens;
config.FPS = FPS;
+ config.fixForopenGL = fixForopenGL;
config.InitSetupIterator();
cSkinSetup *skinSetup = NULL;
@@ -302,6 +304,7 @@ void cSkinDesignerSetup::Store(void) {
SetupStore("RerunMaxChannel", rerunMaxChannel);
SetupStore("NumCustomTokens", numCustomTokens);
SetupStore("FPS", FPS);
+ SetupStore("FixForopenGL", fixForopenGL);
}
cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) {
@@ -314,6 +317,7 @@ cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) {
void cSkinDesignerSetup::PluginSetup(void) {
Add(InfoItem(tr("Plugin Setup")));
+ Add(new cMenuEditBoolItem(tr("Workaround for openGL"), &fixForopenGL));
Add(new cMenuEditIntItem(tr("Frames per Second to display animations"), &FPS, 10, 60));
Add(new cMenuEditIntItem(tr("Maximum number of custom tokens"), &numCustomTokens, 0, 100));