diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 19:48:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 19:48:26 +0300 |
commit | 196cc38da19b867eaa9419343dd6ecd8212af354 (patch) | |
tree | afb2d39f88c213702a339cae6fa08f8248b5c1af /src/gui | |
parent | a80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (diff) | |
download | mv-196cc38da19b867eaa9419343dd6ecd8212af354.tar.gz mv-196cc38da19b867eaa9419343dd6ecd8212af354.tar.bz2 mv-196cc38da19b867eaa9419343dd6ecd8212af354.tar.xz mv-196cc38da19b867eaa9419343dd6ecd8212af354.zip |
Fix compilation errors and warnings in different modes.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 35293fec4..9c6b3f064 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -559,6 +559,7 @@ void Setup_Video::action(const gcn::ActionEvent &event) { config.setValue("noframe", mNoFrameCheckBox->isSelected()); } +#ifdef USE_OPENGL else if (id == "detect") { TestMain *test = graphicsManager.startDetection(); @@ -570,6 +571,7 @@ void Setup_Video::action(const gcn::ActionEvent &event) delete test; } } +#endif } void Setup_Video::externalUpdated() |