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
1 changed files with 1 additions and 1 deletions

View File

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