add 'graphics.chunk-max-vertices', 'graphics.chunk-max-renderers' settings
This commit is contained in:
@@ -20,7 +20,7 @@ BlocksRenderer::BlocksRenderer(
|
||||
const ContentGfxCache* cache,
|
||||
const EngineSettings* settings
|
||||
) : content(content),
|
||||
vertexBuffer(std::make_unique<float[]>(capacity)),
|
||||
vertexBuffer(std::make_unique<float[]>(capacity * VERTEX_SIZE)),
|
||||
indexBuffer(std::make_unique<int[]>(capacity)),
|
||||
vertexOffset(0),
|
||||
indexOffset(0),
|
||||
|
||||
Reference in New Issue
Block a user