Skip to content

Commit 5929be1

Browse files
author
devsh
committed
just some todo markup
1 parent eaa1320 commit 5929be1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

12_MeshLoaders/main.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ class MeshLoadersApp final : public MonoWindowApplication, public BuiltinResourc
125125
}
126126
cb->end();
127127

128-
//updateGUIDescriptorSet();
129-
130128
IQueue::SSubmitInfo::SSemaphoreInfo retval =
131129
{
132130
.semaphore = m_semaphore.get(),
@@ -341,8 +339,15 @@ class MeshLoadersApp final : public MonoWindowApplication, public BuiltinResourc
341339
}
342340

343341
const auto& converted = reservation.getGPUObjects<ICPUPolygonGeometry>();
344-
return m_renderer->addGeometries({&converted.front().get(),converted.size()});
342+
if (!m_renderer->addGeometries({ &converted.front().get(),converted.size() }))
343+
return false;
345344
}
345+
346+
// TODO: get scene bounds and reset camera
347+
348+
// TODO: write out the geometry
349+
350+
return true;
346351
}
347352

348353
// Maximum frames which can be simultaneously submitted, used to cycle through our per-frame resources like command buffers

0 commit comments

Comments
 (0)