summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-11-06 18:19:09 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-11-06 18:19:09 (GMT)
commit8baead275affe384e2344bbbff78b046c08c8812 (patch)
tree63d741c40631a6c6f1b42a598a672a19844f9f72 /tests/csgtestcore.cc
parent31a97f34e1122690cbad2c9bf01f3ede6d3da135 (diff)
parent6bb261bcd5922c69770c27d25f43c7c315c101a4 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r--tests/csgtestcore.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index 57e397e..034084c 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -77,8 +77,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
const char *filename = argv[1];
const char *outfilename = argv[2];
- initialize_builtin_functions();
- initialize_builtin_modules();
+ Builtins::instance()->initialize();
QApplication app(argc, argv, false);
@@ -217,8 +216,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
csgInfo.glview->save(outfilename);
- destroy_builtin_functions();
- destroy_builtin_modules();
+ Builtins::instance(true);
return 0;
}
contact: Jan Huwald // Impressum