diff options
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 582670a5..1938231a 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -103,6 +103,9 @@ Setup::Setup(): scrollArea = new ScrollArea(modeList); fsCheckBox = new CheckBox("Full screen", false); openGLCheckBox = new CheckBox("OpenGL", false); +#ifndef USE_OPENGL + openGLCheckBox->setEnabled(false); +#endif customCursorCheckBox = new CheckBox("Custom cursor"); alphaLabel = new gcn::Label("Gui opacity"); alphaSlider = new Slider(0.2, 1.0); |