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/test/testlauncher.cpp | |
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/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 3 |
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 |