mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Fix uninitialized warning on SBufferContainerInfo
This commit is contained in:
parent
79cb7d14eb
commit
a03a22b8e5
|
@ -1489,7 +1489,9 @@ void CCommandProcessorFragment_OpenGL3_3::Cmd_CreateBufferContainer(const CComma
|
|||
{
|
||||
for(int i = m_BufferContainers.size(); i < Index + 1; ++i)
|
||||
{
|
||||
m_BufferContainers.push_back(SBufferContainer());
|
||||
SBufferContainer Container;
|
||||
Container.m_ContainerInfo.m_Stride = 0;
|
||||
m_BufferContainers.push_back(Container);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue