summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index f722dbae8..9eaf5be56 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -193,11 +193,12 @@ int ModeListModel::getIndexOf(const std::string &widthXHeightMode)
return -1;
}
-const char *OPENGL_NAME[3] =
+const char *OPENGL_NAME[4] =
{
N_("Software"),
N_("Fast OpenGL"),
N_("Safe OpenGL"),
+ N_("Mobile OpenGL"),
};
class OpenGLListModel final : public gcn::ListModel
@@ -207,7 +208,7 @@ public:
{ }
virtual int getNumberOfElements()
- { return 3; }
+ { return 4; }
virtual std::string getElementAt(int i)
{
@@ -566,7 +567,7 @@ void Setup_Video::action(const gcn::ActionEvent &event)
if (test)
{
const int val = test->getConfig().getValueInt("opengl", -1);
- if (val >= 0 && val <= 2)
+ if (val >= 0 && val <= 3)
mOpenGLDropDown->setSelected(val);
delete test;
}