From 2316658dfc35a66a662782a992ba7157f9d1101f Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 24 Nov 2016 02:11:35 +0100 Subject: [PATCH] Fix kdizd blinking issue because the vertex buffer was too small --- src/r_poly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_poly.cpp b/src/r_poly.cpp index d51d01f9b..964ec2ae7 100644 --- a/src/r_poly.cpp +++ b/src/r_poly.cpp @@ -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)