chore: rename critical section variable to a more accurate one

fix: call ``Renderer::CBuffTick`` at ``C4JRender::Tick`` in release mode
This commit is contained in:
Patoke
2026-03-03 01:59:30 -03:00
parent 8dd19edd1a
commit 7a4e31561d
4 changed files with 20 additions and 22 deletions

View File

@@ -488,7 +488,7 @@ void Renderer::Initialise(ID3D11Device *pDevice, IDXGISwapChain *pSwapChain)
StateSetVertexTextureUV(0.0f, 0.0f);
TextureBindVertex(-1);
InitializeCriticalSection(&rtl_critical_section100);
InitializeCriticalSection(&m_commandBufferCS);
reservedRendererDword1 = 0;
activeVertexType = -1;