Files
OpenRA/OpenRA.Platforms.Default/VertexBuffer.cs
RoosterDragon 3f8c1ad5df Don't allocate a full-sized array when creating a VertexBuffer.
We can allocate a much smaller zeroed buffer and copy that multiple times in order to zero the memory. When creating large VertexBuffers, this caps our temporary allocation size significantly.
2017-12-19 00:57:02 +01:00

3.2 KiB