mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
Fix kdizd blinking issue because the vertex buffer was too small
This commit is contained in:
parent
0361e912cb
commit
2316658dfc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue