mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Reset thread count too, so the implementention knows its not multi threaded at this point anymore
This commit is contained in:
parent
213f72150c
commit
0d4904f0b5
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue