mirror of
https://github.com/overte-org/overte.git
synced 2025-08-03 23:23:38 +02:00
constexpr not handled on windows
This commit is contained in:
parent
5166d833a7
commit
26e8c490c3
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ void GeometryCache::renderBevelCornersRect(gpu::Batch& batch, int x, int y, int
|
|||
if (!details.isCreated) {
|
||||
static const int FLOATS_PER_VERTEX = 2; // vertices
|
||||
static const int NUM_VERTICES = 8;
|
||||
static constexpr int NUM_FLOATS = NUM_VERTICES * FLOATS_PER_VERTEX;
|
||||
static const int NUM_FLOATS = NUM_VERTICES * FLOATS_PER_VERTEX;
|
||||
|
||||
details.isCreated = true;
|
||||
details.vertices = NUM_VERTICES;
|
||||
|
|
Loading…
Reference in a new issue