diff options
author | Piotr Dziwiński <piotrdz@gmail.com> | 2013-11-19 10:09:10 -0800 |
---|---|---|
committer | Piotr Dziwiński <piotrdz@gmail.com> | 2013-11-19 10:09:10 -0800 |
commit | b3b80b5fbb0f0b4e1633c1a1ca1d2804b7a0ec59 (patch) | |
tree | e0e3e3f929a5f39a297f94c4e1b44fda3635dd3b /test/envs/opengl/model_test.cpp | |
parent | 5514c950b90788a9f030f585777f5779af76f2aa (diff) | |
parent | 86c0eb193dc84d39056e9a581f0717a058614db1 (diff) | |
download | colobot-b3b80b5fbb0f0b4e1633c1a1ca1d2804b7a0ec59.tar.gz colobot-b3b80b5fbb0f0b4e1633c1a1ca1d2804b7a0ec59.tar.bz2 colobot-b3b80b5fbb0f0b4e1633c1a1ca1d2804b7a0ec59.zip |
Merge pull request #251 from OdyX/dev-fix-tests
Fix build tests as well as other useful tests
Diffstat (limited to 'test/envs/opengl/model_test.cpp')
-rw-r--r-- | test/envs/opengl/model_test.cpp | 5 |
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; } |