summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
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