diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp index 32e90856f..df4c46f69 100644 --- a/src/engine/client/graphics_threaded.cpp +++ b/src/engine/client/graphics_threaded.cpp @@ -1272,7 +1272,7 @@ int CGraphics_Threaded::CreateQuadContainer(bool AutomaticUpload) void CGraphics_Threaded::QuadContainerChangeAutomaticUpload(int ContainerIndex, bool AutomaticUpload) { SQuadContainer &Container = m_QuadContainers[ContainerIndex]; - Container.m_AutomicUpload = AutomaticUpload; + Container.m_AutomaticUpload = AutomaticUpload; } void CGraphics_Threaded::QuadContainerUpload(int ContainerIndex) @@ -1371,7 +1371,7 @@ void CGraphics_Threaded::QuadContainerAddQuads(int ContainerIndex, CQuadItem *pA } } - if(Container.m_AutomicUpload) + if(Container.m_AutomaticUpload) QuadContainerUpload(ContainerIndex); } @@ -1408,7 +1408,7 @@ void CGraphics_Threaded::QuadContainerAddQuads(int ContainerIndex, CFreeformItem SetColor(&Quad.m_aVertices[3], 2); } - if(Container.m_AutomicUpload) + if(Container.m_AutomaticUpload) QuadContainerUpload(ContainerIndex); } diff --git a/src/engine/client/graphics_threaded.h b/src/engine/client/graphics_threaded.h index c16c952d3..6c0c546c8 100644 --- a/src/engine/client/graphics_threaded.h +++ b/src/engine/client/graphics_threaded.h @@ -770,13 +770,13 @@ class CGraphics_Threaded : public IEngineGraphics struct SQuadContainer { - SQuadContainer(bool AutomicUpload = true) + SQuadContainer(bool AutomaticUpload = true) { m_Quads.clear(); m_QuadBufferObjectIndex = m_QuadBufferContainerIndex = -1; m_FreeIndex = -1; - m_AutomicUpload = AutomicUpload; + m_AutomaticUpload = AutomaticUpload; } struct SQuad @@ -791,7 +791,7 @@ class CGraphics_Threaded : public IEngineGraphics int m_FreeIndex; - bool m_AutomicUpload; + bool m_AutomaticUpload; }; std::vector m_QuadContainers; int m_FirstFreeQuadContainer;