diff options
author | chai <chaifix@163.com> | 2018-07-28 21:41:39 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-28 21:41:39 +0800 |
commit | ac7aaf2c1a412bb29568b547b0f1661db94702e2 (patch) | |
tree | 1f3f6ee73ad52f99081b727da92c0082caa99284 | |
parent | fb1ca399126712a03fd41fe555a6228618da1665 (diff) |
*update
-rw-r--r-- | libjin/Graphics/Window.cpp | 2 | ||||
-rw-r--r-- | libjin/modules.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjin/Graphics/Window.cpp b/libjin/Graphics/Window.cpp index cdff426..708a30f 100644 --- a/libjin/Graphics/Window.cpp +++ b/libjin/Graphics/Window.cpp @@ -16,7 +16,9 @@ namespace graphics bool Window::initSystem(const SettingBase* s) { +#if JIN_DEBUG Loghelper::log(Loglevel::LV_INFO, "Init window system"); +#endif // JIN_DEBUG if (SDL_Init(SDL_INIT_VIDEO) < 0) return false; diff --git a/libjin/modules.h b/libjin/modules.h index e46d527..9db11e7 100644 --- a/libjin/modules.h +++ b/libjin/modules.h @@ -36,4 +36,10 @@ #define JIN_MODULES_TIME 1 #define JIN_TIME_SDL 1 +/* +* Debug +*/ + +#define JIN_DEBUG 1 + #endif
\ No newline at end of file |