summaryrefslogtreecommitdiff
path: root/src/test/testmain.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-02 21:02:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-02 21:02:34 +0300
commit370cb1fa897604e5d7bf9543881afad80f45f3ba (patch)
tree66ea88a44010ebeb13ec6258b37b9a93e04c909d /src/test/testmain.h
parent1d843dd814f92004efbb4574be0d898d4edf6359 (diff)
downloadmanaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.gz
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.bz2
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.tar.xz
manaplus-370cb1fa897604e5d7bf9543881afad80f45f3ba.zip
dehardcode some mode render mode constans usage.
Diffstat (limited to 'src/test/testmain.h')
-rw-r--r--src/test/testmain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/testmain.h b/src/test/testmain.h
index b0ad82e95..bcac222c0 100644
--- a/src/test/testmain.h
+++ b/src/test/testmain.h
@@ -25,6 +25,8 @@
#include "logger.h"
#include "main.h"
+#include "render/renderers.h"
+
#ifdef USE_OPENGL
#include <string>
@@ -66,7 +68,7 @@ class TestMain
void testsMain();
- void writeConfig(const int openGLMode, const int rescale,
+ void writeConfig(const RenderType openGLMode, const int rescale,
const int sound, const std::string &info,
const int batchSize, const int detectMode);