Skip to content

Commit 514d04d

Browse files
author
devsh
committed
slight corrections
1 parent 10a1004 commit 514d04d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/nbl/asset/IPolygonGeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class IPolygonGeometry : public IIndexableGeometry<BufferType>, public IPolygonG
147147
return false;
148148
// the variable length vectors must be filled with valid views
149149
for (const auto& pair : m_jointWeightViews)
150-
if (!pair || !pair.weights.getElementCount()<vertexCount)
150+
if (!pair || pair.weights.getElementCount()<vertexCount)
151151
return false;
152152
for (const auto& view : m_auxAttributeViews)
153153
if (!view)

include/nbl/asset/metadata/IAssetMetadata.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ class IAssetMetadata : public impl::IAssetMetadata_base
7575
return core::make_refctd_dynamic_array<meta_container_t<Meta>>(length);
7676
}
7777

78-
78+
// TODO: use tuple_transform here
7979
std::tuple<
8080
asset_metadata_map_t<ICPUImage>,
81-
asset_metadata_map_t<ICPUImageView>
81+
asset_metadata_map_t<ICPUImageView>,
82+
asset_metadata_map_t<ICPUPolygonGeometry>
8283
> m_metaMaps;
8384

8485

0 commit comments

Comments
 (0)