Fix uninitialized warning on SBufferContainerInfo

This commit is contained in:
Edgar 2020-06-22 11:23:52 +02:00
parent 79cb7d14eb
commit a03a22b8e5
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85

View file

@ -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);
}
}