Reset thread count too, so the implementention knows its not multi threaded at this point anymore

This commit is contained in:
Jupeyy 2022-03-30 18:31:09 +02:00
parent 213f72150c
commit 0d4904f0b5

View file

@ -924,7 +924,7 @@ class CCommandProcessorFragment_Vulkan : public CCommandProcessorFragment_GLBase
std::vector<std::vector<CTexture>> m_FrameDelayedTextureCleanup;
std::vector<std::vector<std::pair<CTexture, CTexture>>> m_FrameDelayedTextTexturesCleanup;
size_t m_ThreadCount = 7;
size_t m_ThreadCount = 1;
static constexpr size_t ms_MainThreadIndex = 0;
size_t m_CurCommandInPipe = 0;
size_t m_CurRenderCallCountInPipe = 0;
@ -7023,6 +7023,8 @@ public:
m_ThreadCommandLists.clear();
m_ThreadHelperHadCommands.clear();
m_ThreadCount = 1;
CleanupVulkanSDL();
}