summaryrefslogtreecommitdiffstats
path: root/test/envs/opengl/model_test.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-11-26 00:42:46 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2013-11-26 00:42:46 +0100
commitd6eb095f2760eab42e852aceae61289ad7ba36ee (patch)
tree3bf29be57a9c47b0ce7427f3dbb9d58cdd258ee5 /test/envs/opengl/model_test.cpp
parent881802b050dc9957ce681eafd6e255ddadf3a517 (diff)
parent8c25650ad5e888019f350f099d6755921780c6f1 (diff)
downloadcolobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.tar.gz
colobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.tar.bz2
colobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.zip
Colobot Gold 0.1.2-alpha
Diffstat (limited to 'test/envs/opengl/model_test.cpp')
-rw-r--r--test/envs/opengl/model_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/envs/opengl/model_test.cpp b/test/envs/opengl/model_test.cpp
index 1dda69c..fa4042c 100644
--- a/test/envs/opengl/model_test.cpp
+++ b/test/envs/opengl/model_test.cpp
@@ -265,6 +265,9 @@ int SDL_MAIN_FUNC(int argc, char *argv[])
{
CLogger logger;
+ CSystemUtils* systemUtils = CSystemUtils::Create(); // platform-specific utils
+ systemUtils->Init();
+
PREV_TIME = GetSystemUtils()->CreateTimeStamp();
CURR_TIME = GetSystemUtils()->CreateTimeStamp();
@@ -273,7 +276,7 @@ int SDL_MAIN_FUNC(int argc, char *argv[])
if (argc != 3)
{
- std::cerr << "Usage: " << argv[0] << "{old|new_txt|new_bin} model_file" << std::endl;
+ std::cerr << "Usage: " << argv[0] << " {old|new_txt|new_bin} model_file" << std::endl;
return 1;
}