summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 04:00:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 04:00:36 +0300
commit1614644f5367a7a17fb5bc754b1ee47561d5905b (patch)
tree22ddb02f9927d03ebb515561559ccbfbf97fde1f /src/test
parent003043714367009efaf07015cc63a901ae2ee47c (diff)
downloadplus-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.gz
plus-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.bz2
plus-1614644f5367a7a17fb5bc754b1ee47561d5905b.tar.xz
plus-1614644f5367a7a17fb5bc754b1ee47561d5905b.zip
Remove default parameters from configuration.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testmain.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 945aec73b..9e17ff8da 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -51,7 +51,9 @@ TestMain::~TestMain()
void TestMain::initConfig()
{
- mConfig.init(settings.configDir + "/test.xml");
+ mConfig.init(settings.configDir + "/test.xml",
+ UseVirtFs_false,
+ SkipError_false);
mConfig.clear();
// setConfigDefaults(mConfig);
@@ -277,7 +279,9 @@ void TestMain::writeConfig(const RenderType openGLMode,
const std::string &textureSize,
const int detectMode)
{
- mConfig.init(settings.configDir + "/config.xml");
+ mConfig.init(settings.configDir + "/config.xml",
+ UseVirtFs_false,
+ SkipError_false);
log->log("set mode to %d", CAST_S32(openGLMode));