diff options
author | rtk0c <[email protected]> | 2021-03-29 17:55:02 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-03-29 17:55:02 -0700 |
commit | 70cc233165b5efa3a3888af34f7afce095fe6947 (patch) | |
tree | b15e8f2e3816acc204846188e78514f2ba6ad816 /core/src/Entrypoint | |
parent | 6032ae108064650324b2c45352e1baa5b36961cc (diff) |
More work on project tab
Diffstat (limited to 'core/src/Entrypoint')
-rw-r--r-- | core/src/Entrypoint/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/Entrypoint/main.cpp b/core/src/Entrypoint/main.cpp index 39943d6..ce8aab7 100644 --- a/core/src/Entrypoint/main.cpp +++ b/core/src/Entrypoint/main.cpp @@ -5,6 +5,7 @@ #include "Entrypoint/OpenGL2.hpp" #include "Entrypoint/OpenGL3.hpp" #include "Entrypoint/Vulkan.hpp" +#include "Model/GlobalStates.hpp" #include "UI/Localization.hpp" #include "UI/States.hpp" #include "UI/UI.hpp" @@ -143,6 +144,7 @@ int main(int argc, char* argv[]) { I18n::Init(); I18n::SetLanguage("zh_CN"); + GlobalStates::Init(); UIState::Init(); auto window = backend->GetWindow(); @@ -152,5 +154,7 @@ int main(int argc, char* argv[]) { backend->EndFrame(); } + GlobalStates::Shutdown(); + return 0; } |