We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e923eea commit 35a04c0Copy full SHA for 35a04c0
README.md
@@ -1611,7 +1611,7 @@ The command buffer provided by the iterator is committed in a safe manner when t
1611
// the iteration is over in a safe manner (takes into account other threads
1612
// and only applies the changes when no ECS threads are doing changes).
1613
// This is the recommended way for most use cases.
1614
-ecs::Query q = w.query().add<Position>();
+ecs::Query q = w.query().all<Position>();
1615
q.each([&](ecs::Iter& it) {
1616
ecs::CommandBufferST& cb = it.cmd_buffer_st();
1617
0 commit comments