summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 19:48:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 19:48:26 +0300
commit196cc38da19b867eaa9419343dd6ecd8212af354 (patch)
treeafb2d39f88c213702a339cae6fa08f8248b5c1af /src/test/testlauncher.cpp
parenta80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (diff)
downloadmanaverse-196cc38da19b867eaa9419343dd6ecd8212af354.tar.gz
manaverse-196cc38da19b867eaa9419343dd6ecd8212af354.tar.bz2
manaverse-196cc38da19b867eaa9419343dd6ecd8212af354.tar.xz
manaverse-196cc38da19b867eaa9419343dd6ecd8212af354.zip
Fix compilation errors and warnings in different modes.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 609198a97..6d79f2e8e 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -20,6 +20,8 @@
#include "test/testlauncher.h"
+#ifdef USE_OPENGL
+
#include "client.h"
#include "configuration.h"
#include "graphics.h"
@@ -248,3 +250,4 @@ int TestLauncher::calcFps(const timeval *const start, const timeval *const end,
return static_cast<long>(calls) * 1000 / mtime;
}
+#endif