mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 05:26:57 +03:00
Increased Room Stack Size to 512
This commit is contained in:
parent
852d6679af
commit
f28abeea16
1 changed files with 2 additions and 2 deletions
|
@ -671,11 +671,11 @@ namespace T5M::Renderer
|
||||||
void Renderer11::getVisibleObjects(int from, int to, RenderView& renderView)
|
void Renderer11::getVisibleObjects(int from, int to, RenderView& renderView)
|
||||||
{
|
{
|
||||||
// Avoid allocations, 1024 should be fine
|
// Avoid allocations, 1024 should be fine
|
||||||
RendererRoomNode nodes[256];
|
RendererRoomNode nodes[512];
|
||||||
int nextNode = 0;
|
int nextNode = 0;
|
||||||
|
|
||||||
// Avoid reallocations, 1024 should be fine
|
// Avoid reallocations, 1024 should be fine
|
||||||
RendererRoomNode *stack[256];
|
RendererRoomNode *stack[512];
|
||||||
int stackDepth = 0;
|
int stackDepth = 0;
|
||||||
|
|
||||||
RendererRoomNode *node = &nodes[nextNode++];
|
RendererRoomNode *node = &nodes[nextNode++];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue