Skip to content

Commit 19e3e57

Browse files
author
devsh
committed
fix typos
1 parent 215ee50 commit 19e3e57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nbl/asset/ICPUAccelerationStructure.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ICPUBottomLevelAccelerationStructure final : public IBottomLevelAccelerati
4747
return {m_geometryPrimitiveCount->begin(),m_geometryPrimitiveCount->end()};
4848
return {};
4949
}
50-
inline std::span<const uint32_t> getGeometryPrimitiveCounts(const size_t geomIx) const
50+
inline std::span<const uint32_t> getGeometryPrimitiveCounts() const
5151
{
5252
if (m_geometryPrimitiveCount)
5353
return {m_geometryPrimitiveCount->begin(),m_geometryPrimitiveCount->end()};
@@ -79,7 +79,7 @@ class ICPUBottomLevelAccelerationStructure final : public IBottomLevelAccelerati
7979
{
8080
if (!isMutable())
8181
return false;
82-
m_buildFlags &= BUILD_FLAGS::GEOMETRY_TYPE_IS_AABB_BIT;
82+
m_buildFlags &= ~BUILD_FLAGS::GEOMETRY_TYPE_IS_AABB_BIT;
8383
m_geometryPrimitiveCount = std::move(ranges);
8484
m_triangleGeoms = std::move(geometries);
8585
m_AABBGeoms = nullptr;

0 commit comments

Comments
 (0)