mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 12:59:07 -06:00
Fix issue with compiling on Debug
This commit is contained in:
@@ -256,7 +256,10 @@ void RenderablePrism::updateVertexData() {
|
||||
}
|
||||
|
||||
// Indices for Base shape
|
||||
ghoul_assert(_nShapeSegments.value <= std::numeric_limit<uint8_t>::max(), "Too many shape segments")
|
||||
ghoul_assert(
|
||||
_nShapeSegments.value() <= std::numeric_limits<uint8_t>::max(),
|
||||
"Too many shape segments"
|
||||
);
|
||||
for (uint8_t i = 0; i < _nShapeSegments; ++i) {
|
||||
_indexArray.push_back(i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user