set default loading state

This commit is contained in:
ConfiG 2024-01-15 00:40:01 +03:00
parent 3e840cdb47
commit 12ba95f7ba
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -39,7 +39,7 @@ namespace geode {
std::vector<ghc::filesystem::path> m_texturePaths; std::vector<ghc::filesystem::path> m_texturePaths;
bool m_isSetup = false; bool m_isSetup = false;
LoadingState m_loadingState; LoadingState m_loadingState = LoadingState::None;
std::vector<utils::MiniFunction<void(void)>> m_mainThreadQueue; std::vector<utils::MiniFunction<void(void)>> m_mainThreadQueue;
mutable std::mutex m_mainThreadMutex; mutable std::mutex m_mainThreadMutex;