0
0
Fork 0
mirror of https://github.com/DrBeef/Raze.git synced 2025-04-22 23:42:14 +00:00

- increased amount of vertices to allow handling voxel packs.

This is merely a stopgap until the code can be properly refactored.
This commit is contained in:
Christoph Oelckers 2020-02-09 08:32:40 +01:00
parent 1054356cef
commit 598ce8a2ef

View file

@ -53,8 +53,8 @@ class FFlatVertexBuffer
unsigned int mNumReserved;
static const unsigned int BUFFER_SIZE = 2000000;
static const unsigned int BUFFER_SIZE_TO_USE = 1999500;
static const unsigned int BUFFER_SIZE = 4000000; // Was upped from 2000000 to account for voxels not being implemented with a separate vertex buffer.
static const unsigned int BUFFER_SIZE_TO_USE = BUFFER_SIZE-500;
public:
enum