summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5bf560d32..66a895264 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -798,6 +798,7 @@ void Client::gameClear()
int Client::testsExec() const
{
+#ifdef USE_OPENGL
if (mOptions.test.empty())
{
TestMain test;
@@ -808,6 +809,9 @@ int Client::testsExec() const
TestLauncher launcher(mOptions.test);
return launcher.exec();
}
+#else
+ return 0;
+#endif
}
int Client::gameExec()