diff options
author | chai <chaifix@163.com> | 2018-07-25 20:27:55 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-25 20:27:55 +0800 |
commit | 0371f99359d1f58dbec6353234c2b1ebd86a7585 (patch) | |
tree | 59da821f194dd067e8bf196ebe422712cd975346 /src/libjin/common/subsystem.h | |
parent | 128b6dd3e3a803e475ec03493ee26e6b20d7e42b (diff) |
*image->texture
Diffstat (limited to 'src/libjin/common/subsystem.h')
-rw-r--r-- | src/libjin/common/subsystem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/common/subsystem.h b/src/libjin/common/subsystem.h index 90e8570..35563da 100644 --- a/src/libjin/common/subsystem.h +++ b/src/libjin/common/subsystem.h @@ -21,7 +21,7 @@ namespace jin void quit() { - quitSystem(); + CALLONCE(quitSystem()); destroy(); } @@ -32,8 +32,8 @@ namespace jin SINGLETON(System); - virtual bool initSystem(const Setting* setting) = 0; - virtual void quitSystem() = 0; + virtual onlyonce bool initSystem(const Setting* setting) = 0; + virtual onlyonce void quitSystem() = 0; }; |