summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-03 02:31:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-03 02:31:07 +0300
commit6007cebe8ac49ca4f3d09b6bed5e3d41a197221a (patch)
treea0ff9b7e4a75dca2d62045d8833249aea0f0450b /src/gui/widgets
parentf43602b237228935ca468dc3388db0ab761ddbbb (diff)
downloadmanaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.gz
manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.bz2
manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.xz
manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.zip
Add option for create custom OpenGL context.
By default this option disabled, because may create issues.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_perfomance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_perfomance.cpp b/src/gui/widgets/tabs/setup_perfomance.cpp
index c62346f8f..25f25a4c7 100644
--- a/src/gui/widgets/tabs/setup_perfomance.cpp
+++ b/src/gui/widgets/tabs/setup_perfomance.cpp
@@ -92,6 +92,10 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
new SetupItemCheckBox(_("Enable texture sampler (OpenGL)"), "",
"useTextureSampler", this, "useTextureSamplerEvent");
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Enable OpenGL context creation"),
+ "", "openglContext", this, "openglContextEvent");
+
// TRANSLATORS: settings option
new SetupItemLabel(_("Better quality (disable for better performance)"),