fix msvc error C2466: cannot allocate an array of constant size 0
This commit is contained in:
parent
171cbb48d0
commit
2327f0ddf8
@ -81,7 +81,7 @@ ChunksRenderer::ChunksRenderer(
|
|||||||
logger.info() << "created " << threadPool.getWorkersCount() << " workers";
|
logger.info() << "created " << threadPool.getWorkersCount() << " workers";
|
||||||
|
|
||||||
const vattr attrs[]{ {3}, {2}, {1}, {0} };
|
const vattr attrs[]{ {3}, {2}, {1}, {0} };
|
||||||
float buf[]{};
|
float buf[1]{};
|
||||||
sortedMesh = std::make_unique<Mesh>(buf, 0, attrs);
|
sortedMesh = std::make_unique<Mesh>(buf, 0, attrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user