From 70cc233165b5efa3a3888af34f7afce095fe6947 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 29 Mar 2021 17:55:02 -0700 Subject: More work on project tab --- core/src/Entrypoint/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/src/Entrypoint') 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; } -- cgit v1.2.3-70-g09d2