constexpr not handled on windows

This commit is contained in:
Atlante45 2015-06-17 22:43:11 +02:00
parent 5166d833a7
commit 26e8c490c3

View file

@ -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;