Fix kdizd blinking issue because the vertex buffer was too small

This commit is contained in:
Magnus Norddahl 2016-11-24 02:11:35 +01:00
parent 0361e912cb
commit 2316658dfc

View file

@ -278,7 +278,7 @@ namespace
TriVertex *PolyVertexBuffer::GetVertices(int count) TriVertex *PolyVertexBuffer::GetVertices(int count)
{ {
enum { VertexBufferSize = 16 * 1024 }; enum { VertexBufferSize = 64 * 1024 };
static TriVertex Vertex[VertexBufferSize]; static TriVertex Vertex[VertexBufferSize];
if (NextBufferVertex + count > VertexBufferSize) if (NextBufferVertex + count > VertexBufferSize)