Skip to content

Commit f64a8f3

Browse files
committed
update examples_tests submodule
1 parent 054038f commit f64a8f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nbl/asset/utils/CGeometryCreator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ core::smart_refctd_ptr<ICPUPolygonGeometry> CGeometryCreator::createGrid(const h
19821982
aabb.maxVx = float32_t4((resolution.x - 0.5f) / float(resolution.x), 0.5f, (resolution.y - 0.5f) / float(resolution.y), 1.f);
19831983
aabb.minVx = float32_t4(0.5f / float(resolution.x), 0.5f, 0.5f / float(resolution.y), 1.f);
19841984

1985-
const auto stride = getTexelOrBlockBytesize<EF_A2R10G10B10_UNORM_PACK32>();
1985+
static constexpr auto stride = getTexelOrBlockBytesize<EF_A2R10G10B10_UNORM_PACK32>();
19861986
const auto bytes = stride * vertexCount;
19871987
auto buffer = ICPUBuffer::create({ bytes, IBuffer::EUF_NONE });
19881988
ICPUPolygonGeometry::SDataView positionView = {

0 commit comments

Comments
 (0)