mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Fixed typo in variable name
This commit is contained in:
parent
79dbbe2ee2
commit
635485de90
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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<SQuadContainer> m_QuadContainers;
|
||||
int m_FirstFreeQuadContainer;
|
||||
|
|
Loading…
Reference in a new issue